summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-08-16 16:16:15 +0200
committerJakub Kicinski <kuba@kernel.org>2022-08-17 21:59:14 -0700
commita617ccc01608c3f422c65da1b6c7a31057f46f62 (patch)
tree71c78fe6b44fe03f2edcfa0267bc5a5f10340214 /net/netlink
parentd515f38c1e6dac42db145a778bd87a241f89590c (diff)
downloadlinux-stable-a617ccc01608c3f422c65da1b6c7a31057f46f62.tar.gz
linux-stable-a617ccc01608c3f422c65da1b6c7a31057f46f62.tar.bz2
linux-stable-a617ccc01608c3f422c65da1b6c7a31057f46f62.zip
net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_xdp_run
Fix possible NULL pointer dereference in mtk_xdp_run() if the ebpf program returns XDP_TX and xdp_convert_buff_to_frame routine fails returning NULL. Fixes: 5886d26fd25bb ("net: ethernet: mtk_eth_soc: add xmit XDP support") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://lore.kernel.org/r/627a07d759020356b64473e09f0855960e02db28.1660659112.git.lorenzo@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions