Commit a7b488d65d39d94ae66b93cca9fc655aaa2ea1bb
Committed by
Greg Kroah-Hartman
1 parent
5f4e6b874b
cxgb4: add missing release on skb in uld_send()
[ Upstream commit e6827d1abdc9b061a57d7b7d3019c4e99fabea2f ] In the implementation of uld_send(), the skb is consumed on all execution paths except one. Release skb when returning NET_XMIT_DROP. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/net/ethernet/chelsio/cxgb4/sge.c