Files
kernel/include/linux
Florian Westphal 28b05b9288 net: use correct this_cpu primitive in dev_recursion_level
syzbot reports:
BUG: using __this_cpu_read() in preemptible code:
caller is dev_recursion_level include/linux/netdevice.h:3052 [inline]
 __this_cpu_preempt_check+0x246/0x270 lib/smp_processor_id.c:47
 dev_recursion_level include/linux/netdevice.h:3052 [inline]
 ip6_skb_dst_mtu include/net/ip6_route.h:245 [inline]

I erronously downgraded a this_cpu_read to __this_cpu_read when
moving dev_recursion_level() around.

Reported-by: syzbot+51471b4aae195285a4a3@syzkaller.appspotmail.com
Fixes: 97cdcf37b5 ("net: place xmit recursion in softnet data")
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-04 17:34:58 -07:00
..
2019-03-18 10:44:48 -06:00
2019-03-12 18:59:17 -07:00
2019-03-12 10:04:02 -07:00
2019-03-12 10:04:00 -07:00
2019-03-09 19:52:47 -08:00
2019-03-07 18:32:03 -08:00
2019-03-12 10:04:01 -07:00
2019-03-15 15:29:47 -07:00
2019-03-05 21:07:19 -08:00
2019-03-12 10:04:03 -07:00
2019-03-15 15:29:47 -07:00