Files
linux/drivers/net/ethernet/sfc
Zhang Changzhong aad98abd5c sfc: fix potential memleak in __ef100_hard_start_xmit()
The __ef100_hard_start_xmit() returns NETDEV_TX_OK without freeing skb
in error handling case, add dev_kfree_skb_any() to fix it.

Fixes: 51b35a454e ("sfc: skeleton EF100 PF driver")
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/1668671409-10909-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-11-22 11:28:16 +01:00
..
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2021-04-14 13:55:07 -07:00
2020-07-27 12:26:55 -07:00
2022-09-28 09:43:22 +01:00
2022-09-28 09:43:22 +01:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2022-07-19 13:37:04 -07:00
2022-09-28 09:43:22 +01:00
2022-05-04 11:18:08 +01:00
2022-09-07 12:23:25 +01:00
2020-09-11 17:15:22 -07:00
2022-09-28 09:43:22 +01:00
2022-09-28 09:43:22 +01:00