1
0
Files
linux/drivers
Julian Wiedmann 886e1974dc s390/qeth: don't access skb after transmission
After transmitting a skb via send_packet[_fast](), the statistics
code accesses the skb once more to account for transmitted page frags.
This has a (theoretical?) race against the TX completion - if the TX
completion is processed and frees the skb before hard_start_xmit()
gets to the statistics part, we access random memory.

Fix this by caching the # of page frags, before the skb is transmitted.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-15 10:58:39 -07:00
..
2017-08-09 22:43:50 -07:00
2017-07-24 17:38:21 +02:00
2017-07-17 15:00:47 +02:00
2017-08-02 10:26:43 +02:00
2017-08-01 15:22:55 -07:00
2017-07-20 14:40:36 +02:00
2017-08-03 21:37:30 -07:00