diff options
author | Xuan Zhuo <[email protected]> | 2023-03-15 09:52:23 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-03-16 17:46:05 +0000 |
commit | 1a3bd6eabae35afc5c6dbe2651f21467cf8ad3fd (patch) | |
tree | eed998615148778f45fa25a5b1511e6ea2f3d0b5 /drivers/usb/cdns3/cdns3-imx.c | |
parent | fa0f1ba7c8233118b6fdaa65e2f5ded563d3e1fa (diff) |
virtio_net: free xdp shinfo frags when build_skb_from_xdp_buff() fails
build_skb_from_xdp_buff() may return NULL, in this case
we need to free the frags of xdp shinfo.
Fixes: fab89bafa95b ("virtio-net: support multi-buffer xdp")
Signed-off-by: Xuan Zhuo <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Yunsheng Lin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions