diff options
author | Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> | 2020-05-16 09:45:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-16 22:41:53 +0200 |
commit | b6dd5acde3f165e364881c36de942c5b252e2a27 (patch) | |
tree | 36bf56fa15943f762cc5ccd338ed26fb7c74e316 /mm/mmzone.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-b6dd5acde3f165e364881c36de942c5b252e2a27.tar.xz linux-b6dd5acde3f165e364881c36de942c5b252e2a27.zip |
ipv6: Fix suspicious RCU usage warning in ip6mr
This patch fixes the following warning:
=============================
WARNING: suspicious RCU usage
5.7.0-rc4-next-20200507-syzkaller #0 Not tainted
-----------------------------
net/ipv6/ip6mr.c:124 RCU-list traversed in non-reader section!!
ipmr_new_table() returns an existing table, but there is no table at
init. Therefore the condition: either holding rtnl or the list is empty
is used.
Fixes: d1db275dd3f6e ("ipv6: ip6mr: support multiple tables")
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions