]> git.baikalelectronics.ru Git - kernel.git/commit
via-rhine: close SMP transmit races.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 1 May 2015 20:14:45 +0000 (22:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:18:27 +0000 (00:18 -0400)
commit7c2f055f93679c13f8d08464e65d6d45041537e9
tree41706da9a6d1c9aeae080848de84c8922e7ec6bb
parentbab9ce839679e2cdb1378a20f8e8c90e5449cd36
via-rhine: close SMP transmit races.

5fb4996f0c9c66e81845961657fc6483b2c7581d ("via-rhine: move work from
irq handler to softirq and beyond") forgot to explicitely control the
lifespan of the tx_dirty and tx_cur pointers.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c