diff options
author | 2023-07-10 09:39:07 +0800 | |
---|---|---|
committer | 2023-07-10 08:21:53 +0100 | |
commit | 87355b7c3da9bfd81935caba0ab763355147f7b0 (patch) | |
tree | b5f683ae9391ab6ec7142bb47a1009f9f681d7a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: lan743x: select FIXED_PHY (diff) | |
download | wireguard-linux-87355b7c3da9bfd81935caba0ab763355147f7b0.tar.xz wireguard-linux-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 <jiasheng@iscas.ac.cn>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions