summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-02-07 13:58:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:16 +0100
commit18e77fccfcf9b80f6cc8bf47025886c7cdc4c37f (patch)
tree7458b3584f9405c72c7af79ae83aeea8655cf5f2 /scripts/patch-kernel
parentb3a7b2a24174bfcab4d1c3787166bb2df861e94f (diff)
downloadlinux-18e77fccfcf9b80f6cc8bf47025886c7cdc4c37f.tar.gz
linux-18e77fccfcf9b80f6cc8bf47025886c7cdc4c37f.tar.bz2
linux-18e77fccfcf9b80f6cc8bf47025886c7cdc4c37f.zip
ndisc: ndisc_send_redirect() must use dev_get_by_index_rcu()
[ Upstream commit 48145a57d4bbe3496e8e4880b23ea6b511e6e519 ] ndisc_send_redirect() is called under RCU protection, not RTNL. It must use dev_get_by_index_rcu() instead of __dev_get_by_index() Fixes: 2f17becfbea5 ("vrf: check the original netdevice for generating redirect") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Stephen Suryaputra <ssuryaextr@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250207135841.1948589-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions