]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: move checksum clearing outside of spinlock
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 7 Aug 2018 09:25:13 +0000 (12:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 20:18:49 +0000 (13:18 -0700)
commit7292a0ab78f8fe75c44d4199e04ef944743b50c1
treeb667fb5d8be64290869a2be13ad04f21650dbfbd
parentf24ffe4df23c49ad980c8a2242134e50dc73d9f1
net: macb: move checksum clearing outside of spinlock

Move checksum clearing outside of spinlock. The SKB is protected by
networking lock (HARD_TX_LOCK()).

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c