Re: [PATCH net 1/8] ndisc: ndisc_send_redirect() must use dev_get_by_index_rcu()

From
Kuniyuki Iwashima <hidden>
Date
2025-02-10 01:09:14
Reply to
Eric Dumazet, 2025-02-07
From: Eric Dumazet <redacted>
Date: Fri,  7 Feb 2025 13:58:33 +0000
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 <redacted>
Reviewed-by: Kuniyuki Iwashima <redacted>
Thread (25 messages) 25 messages, 4 authors, last reply 2025-02-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help