]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: Avoid accessing skb after submitting to input queue
authorSatanand Burla <satananda.burla@cavium.com>
Thu, 26 Jan 2017 19:52:35 +0000 (11:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2017 20:42:18 +0000 (15:42 -0500)
commite31a6c30c453b2de6332f29ce8035e1b7a724112
treeda38ce8ca20632bee3bab5b34443fe7632d9b879
parent76827c8d04c46399f6f93a1c61a57e9b9e90875b
liquidio: Avoid accessing skb after submitting to input queue

Accessing skb after submitting to input queue can cause
access to stale pointers if the skb ends up being transmitted
and freed by that time.

Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c