commit | 93fcf83eb953d9ca2d3c51ff7f87095f0dd43511 | [log] [tgz] |
---|---|---|
author | Noam Camus <noamc@ezchip.com> | Thu Aug 20 08:00:02 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 23 16:08:53 2015 -0700 |
tree | a6b96b30ef7d072a8c9adc50c6276cfdf91facb3 | |
parent | 0dd20f3ce04e75521bd3f9867ecbc852ab348912 [diff] |
NET: nps_enet: TX done race condition We need to set tx_skb pointer before send frame. If we receive interrupt before we set pointer we will try to free SKB with wrong pointer. Now we are sure that SKB pointer will never be NULL during handling TX done and check is removed. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>