diff options
| author | 2019-04-03 08:28:35 +0200 | |
|---|---|---|
| committer | 2019-04-04 17:34:58 -0700 | |
| commit | 28b05b92886871bdd8e6a9df73e3a15845fe8ef4 (patch) | |
| tree | aef381b72927a9942a08a3b12f312a15d4a4b9c3 /tools/perf/scripts/python | |
| parent | tipc: add NULL pointer check (diff) | |
| download | wireguard-linux-28b05b92886871bdd8e6a9df73e3a15845fe8ef4.tar.xz wireguard-linux-28b05b92886871bdd8e6a9df73e3a15845fe8ef4.zip | |
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: 97cdcf37b57e ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
