diff options
author | David Ahern <dsahern@gmail.com> | 2018-04-18 15:39:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 15:40:13 -0400 |
commit | 27b10608a2fe3dd91c9ae1f8f8489bf547c12f08 (patch) | |
tree | 504ed375719927585a42c3a24742207ad410d9ce /lib/mpi/generic_mpih-rshift.c | |
parent | dcd1f572954f9d66d7b4a65df894ed5b4c467368 (diff) |
net/ipv6: Fix gfp_flags arg to addrconf_prefix_route
Eric noticed that __ipv6_ifa_notify is called under rcu_read_lock, so
the gfp argument to addrconf_prefix_route can not be GFP_KERNEL.
While scrubbing other calls I noticed addrconf_addr_gen has one
place with GFP_ATOMIC that can be GFP_KERNEL.
Fixes: acb54e3cba404 ("net/ipv6: Add gfp_flags to route add functions")
Reported-by: syzbot+2add39b05179b31f912f@syzkaller.appspotmail.com
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions