aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2023-07-10 01:39:07 +0000
committerDavid S. Miller <[email protected]>2023-07-10 07:21:53 +0000
commit87355b7c3da9bfd81935caba0ab763355147f7b0 (patch)
treeb5f683ae9391ab6ec7142bb47a1009f9f681d7a6 /drivers/net/ethernet/intel/igc/igc_main.c
parentnet: lan743x: select FIXED_PHY (diff)
downloadkernel-87355b7c3da9bfd81935caba0ab763355147f7b0.tar.gz
kernel-87355b7c3da9bfd81935caba0ab763355147f7b0.zip
net: dsa: qca8k: Add check for skb_copy
Add check for the return value of skb_copy in order to avoid NULL pointer dereference. Fixes: 2cd548566384 ("net: dsa: qca8k: add support for phy read/write with mgmt Ethernet") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions