ramips: fix locking issues in the ethernet driver
authorFelix Fietkau <nbd@nbd.name>
Sun, 15 Apr 2018 17:24:42 +0000 (19:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 17 Apr 2018 09:29:31 +0000 (11:29 +0200)
commit173d93ea23dabf4f08228dc2aaf70a004cf4141c
tree1ddd936fa0d8f79ec64ee01273f7b1ad5f0aebe2
parente988b0fe0dc96997755580201e2c3681791d02bd
ramips: fix locking issues in the ethernet driver

The stats update needs to protect against being interrupted by a tasklet
The u64 stats seqlock needs to be initialized

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ramips/files-4.14/drivers/net/ethernet/mtk/mtk_eth_soc.c