Thread (12 messages) 12 messages, 4 authors, 2026-06-24

Re: [PATCH net v2 5/7] ipv6: reset value and position for proxy_ndp sysctl restart

From: Nicolas Dichtel <hidden>
Date: 2026-06-22 11:48:14

Le 20/06/2026 à 18:18, Fernando Fernandez Mancera a écrit :
When handling proxy_ndp, if rtnl_net_trylock() fails, the operation is
retried but as the value was already modified by the initial
proc_dointvec() call, the restarted syscall will read the newly modified
value as the 'old' state.

Fix this by taking the RTNL lock before parsing the input value if the
operation is a write.

Fixes: c92d5491a6d9 ("netconf: add support for IPv6 proxy_ndp")
Signed-off-by: Fernando Fernandez Mancera <redacted>
Reviewed-by: Nicolas Dichtel <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help