Eric Dumazet
207501a986
ipv6/sit: use DEV_STATS_INC() to avoid data-races
...
[ Upstream commit cb34b7cf17ecf33499c9298943f85af247abc1e9 ]
syzbot/KCSAN reported that multiple cpus are updating dev->stats.tx_error
concurrently.
This is because sit tunnels are NETIF_F_LLTX, meaning their ndo_start_xmit()
is not protected by a spinlock.
While original KCSAN report was about tx path, rx path has the same issue.
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:33:02 +01:00
..
2022-06-09 21:53:28 +02:00
2022-11-29 09:52:10 -08:00
2022-10-11 17:42:55 -06:00
2022-08-25 10:33:21 +02:00
2022-04-06 13:45:26 +01:00
2022-10-15 11:08:36 +01:00
2022-08-22 17:55:50 -07:00
2022-09-22 13:02:10 -07:00
2022-12-31 13:32:29 +01:00
2022-12-31 13:32:14 +01:00
2022-02-25 09:36:06 +01:00
2022-11-15 13:38:11 +01:00
2022-11-14 10:51:13 +00:00
2022-12-07 10:30:47 +01:00
2022-10-16 15:27:07 -07:00
2022-12-31 13:33:02 +01:00
2022-03-03 08:01:55 -08:00
2022-11-22 20:15:37 -08:00
2022-12-31 13:32:29 +01:00
2022-08-25 10:33:21 +02:00
2022-10-24 19:08:07 -07:00
2022-12-31 13:32:22 +01:00
2022-10-07 09:29:17 +02:00
2022-12-31 13:32:27 +01:00
2022-12-31 13:33:02 +01:00
2022-06-10 16:21:27 -07:00
2022-11-15 12:42:26 +01:00
2022-11-22 07:14:55 +01:00
2022-11-23 12:45:19 +00:00
2022-04-15 14:27:24 -07:00
2022-06-09 21:52:55 -07:00
2022-12-31 13:32:20 +01:00
2022-12-05 09:53:08 +01:00
2022-12-31 13:32:56 +01:00
2022-08-29 13:02:27 +01:00
2022-11-28 18:03:07 -08:00
2022-08-29 12:47:15 +01:00
2022-12-31 13:32:52 +01:00
2022-08-29 12:47:15 +01:00
2022-10-27 08:20:21 -07:00
2022-04-06 13:45:26 +01:00
2022-12-05 17:46:25 -08:00
2022-12-31 13:32:59 +01:00
2022-11-29 08:30:18 -08:00
2022-04-12 15:00:25 +02:00
2022-08-29 12:47:15 +01:00
2022-08-15 11:21:42 +01:00
2022-10-11 17:42:58 -06:00
2022-03-18 13:09:17 +02:00
2022-11-02 11:57:30 +00:00
2022-12-31 13:32:55 +01:00
2022-12-31 13:32:55 +01:00
2022-12-31 13:32:28 +01:00
2022-11-02 20:42:09 -07:00
2022-07-08 18:38:44 -07:00
2022-12-31 13:32:23 +01:00
2022-06-09 21:52:55 -07:00
2022-12-07 11:32:04 +01:00
2022-12-31 13:32:20 +01:00
2022-12-31 13:32:54 +01:00
2022-12-31 13:32:26 +01:00
2022-12-31 13:32:20 +01:00
2022-11-15 20:22:19 -08:00
2022-10-03 17:44:18 -07:00
2022-11-23 19:18:59 -08:00
2022-09-20 08:23:20 -07:00
2022-08-22 14:26:30 +01:00
2022-09-20 14:23:56 -07:00
2022-08-22 14:26:30 +01:00
2022-10-06 16:55:41 -07:00