aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_vf.c
diff options
context:
space:
mode:
authorManish Chopra <manishc@marvell.com>2019-01-28 10:05:07 -0800
committerDavid S. Miller <davem@davemloft.net>2019-01-28 11:13:34 -0800
commit7c81626a3c37e4ac320b8ad785694ba498f24794 (patch)
treef43a8ba64bcd383bd5554237222fd7c351e61134 /drivers/net/ethernet/qlogic/qed/qed_vf.c
parentqed: Fix VF probe failure while FLR (diff)
downloadlinux-dev-7c81626a3c37e4ac320b8ad785694ba498f24794.tar.xz
linux-dev-7c81626a3c37e4ac320b8ad785694ba498f24794.zip
qed: Fix system crash in ll2 xmit
Cache number of fragments in the skb locally as in case of linear skb (with zero fragments), tx completion (or freeing of skb) may happen before driver tries to get number of frgaments from the skb which could lead to stale access to an already freed skb. Signed-off-by: Manish Chopra <manishc@marvell.com> Signed-off-by: Ariel Elior <aelior@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_vf.c')
0 files changed, 0 insertions, 0 deletions