summaryrefslogtreecommitdiff
path: root/security
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 /security
parent327852ec64205bb651be391a069784872098a3b2 (diff)
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 'security')
0 files changed, 0 insertions, 0 deletions