* [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding @ 2026-11-09 15:53 Gabriel Goller 2026-11-10 17:34 ` Nicolas Dichtel 2026-11-11 3:53 ` netdev-bot+sashiko 0 siblings, 2 replies; 5+ messages in thread From: Gabriel Goller @ 2026-11-09 15:53 UTC (permalink / raw) To: David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman Cc: netdev, linux-kernel, Gabriel Goller Disabling all.forwarding resets force_forwarding on every interface, but leaves all.force_forwarding set: # sysctl -wq net.ipv6.conf.all.forwarding=1 # sysctl -wq net.ipv6.conf.all.force_forwarding=1 # sysctl -wq net.ipv6.conf.all.forwarding=0 # sysctl net.ipv6.conf.dummy1.force_forwarding net.ipv6.conf.dummy1.force_forwarding = 0 # sysctl net.ipv6.conf.all.force_forwarding net.ipv6.conf.all.force_forwarding = 1 Writing 1 to all.force_forwarding afterwards is ignored because the value did not change, so the interfaces are not re-enabled. Reset all.force_forwarding too and notify netconf listeners. Suggested-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Gabriel Goller <g.goller@proxmox.com> --- net/ipv6/addrconf.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index d9d13e78bf13..9007a58039e6 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -905,6 +905,14 @@ static int addrconf_fixup_forwarding(const struct ctl_table *table, int *p, int net->ipv6.devconf_dflt); addrconf_forward_change(net, newf); + /* Disabling all.forwarding also resets all.force_forwarding */ + if (newf == 0 && net->ipv6.devconf_all->force_forwarding) { + WRITE_ONCE(net->ipv6.devconf_all->force_forwarding, 0); + inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, + NETCONFA_FORCE_FORWARDING, + NETCONFA_IFINDEX_ALL, + net->ipv6.devconf_all); + } if ((!newf) ^ (!old)) inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, NETCONFA_FORWARDING, --- base-commit: fa5196392691051963726787944db872420dfa75 base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main change-id: 20261109-ipv6_reset_all-1452fdf29254 Best regards, -- Gabriel Goller <g.goller@proxmox.com> ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding 2026-11-09 15:53 [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding Gabriel Goller @ 2026-11-10 17:34 ` Nicolas Dichtel 2026-11-12 13:43 ` Gabriel Goller 2026-11-11 3:53 ` netdev-bot+sashiko 1 sibling, 1 reply; 5+ messages in thread From: Nicolas Dichtel @ 2026-11-10 17:34 UTC (permalink / raw) To: Gabriel Goller, David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman Cc: netdev, linux-kernel Le 09/11/2026 à 16:53, Gabriel Goller a écrit : > Disabling all.forwarding resets force_forwarding on every interface, but > leaves all.force_forwarding set: > > # sysctl -wq net.ipv6.conf.all.forwarding=1 > # sysctl -wq net.ipv6.conf.all.force_forwarding=1 > # sysctl -wq net.ipv6.conf.all.forwarding=0 > # sysctl net.ipv6.conf.dummy1.force_forwarding > net.ipv6.conf.dummy1.force_forwarding = 0 > # sysctl net.ipv6.conf.all.force_forwarding > net.ipv6.conf.all.force_forwarding = 1 > > Writing 1 to all.force_forwarding afterwards is ignored because the > value did not change, so the interfaces are not re-enabled. > > Reset all.force_forwarding too and notify netconf listeners. > > Suggested-by: Ido Schimmel <idosch@nvidia.com> > Signed-off-by: Gabriel Goller <g.goller@proxmox.com> There is the same effect if an interface entry is reset: $ sysctl -wq net.ipv6.conf.all.force_forwarding=1 $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding net.ipv6.conf.ntfp1.force_forwarding = 1 net.ipv6.conf.all.force_forwarding = 1 $ sysctl -wq net.ipv6.conf.ntfp1.force_forwarding=0 $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding net.ipv6.conf.ntfp1.force_forwarding = 0 net.ipv6.conf.all.force_forwarding = 1 $ sysctl -wq net.ipv6.conf.all.force_forwarding=1 $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding net.ipv6.conf.ntfp1.force_forwarding = 0 net.ipv6.conf.all.force_forwarding = 1 Maybe the new value should be applied whatever the old value was for the 'all' entry (like for net.ipv6.conf.all.forwarding). Note that, it is the same for ipv4 forwarding: $ sysctl -wq net.ipv4.conf.all.forwarding=1 $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding net.ipv4.conf.all.forwarding = 1 net.ipv4.conf.ntfp1.forwarding = 1 $ sysctl -wq net.ipv4.conf.ntfp1.forwarding=0 $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding net.ipv4.conf.all.forwarding = 1 net.ipv4.conf.ntfp1.forwarding = 0 $ sysctl -wq net.ipv4.conf.all.forwarding=1 $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding net.ipv4.conf.all.forwarding = 1 net.ipv4.conf.ntfp1.forwarding = 0 but not for ipv6 forwarding: $ sysctl -wq net.ipv6.conf.all.forwarding=1 $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.ntfp1.forwarding = 1 $ sysctl -wq net.ipv6.conf.ntfp1.forwarding=0 $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.ntfp1.forwarding = 0 $ sysctl -wq net.ipv6.conf.all.forwarding=1 $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.ntfp1.forwarding = 1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding 2026-11-10 17:34 ` Nicolas Dichtel @ 2026-11-12 13:43 ` Gabriel Goller 0 siblings, 0 replies; 5+ messages in thread From: Gabriel Goller @ 2026-11-12 13:43 UTC (permalink / raw) To: Nicolas Dichtel Cc: David Ahern, Ido Schimmel, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman, netdev, linux-kernel On 10.11.2026 18:34, Nicolas Dichtel wrote: > Le 09/11/2026 à 16:53, Gabriel Goller a écrit : > > Disabling all.forwarding resets force_forwarding on every interface, but > > leaves all.force_forwarding set: > > > > # sysctl -wq net.ipv6.conf.all.forwarding=1 > > # sysctl -wq net.ipv6.conf.all.force_forwarding=1 > > # sysctl -wq net.ipv6.conf.all.forwarding=0 > > # sysctl net.ipv6.conf.dummy1.force_forwarding > > net.ipv6.conf.dummy1.force_forwarding = 0 > > # sysctl net.ipv6.conf.all.force_forwarding > > net.ipv6.conf.all.force_forwarding = 1 > > > > Writing 1 to all.force_forwarding afterwards is ignored because the > > value did not change, so the interfaces are not re-enabled. > > > > Reset all.force_forwarding too and notify netconf listeners. > > > > Suggested-by: Ido Schimmel <idosch@nvidia.com> > > Signed-off-by: Gabriel Goller <g.goller@proxmox.com> > > There is the same effect if an interface entry is reset: > > $ sysctl -wq net.ipv6.conf.all.force_forwarding=1 > $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding > net.ipv6.conf.ntfp1.force_forwarding = 1 > net.ipv6.conf.all.force_forwarding = 1 > $ sysctl -wq net.ipv6.conf.ntfp1.force_forwarding=0 > $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding > net.ipv6.conf.ntfp1.force_forwarding = 0 > net.ipv6.conf.all.force_forwarding = 1 > $ sysctl -wq net.ipv6.conf.all.force_forwarding=1 > $ sysctl net.ipv6.conf.ntfp1.force_forwarding net.ipv6.conf.all.force_forwarding > net.ipv6.conf.ntfp1.force_forwarding = 0 > net.ipv6.conf.all.force_forwarding = 1 > > Maybe the new value should be applied whatever the old value was for the 'all' > entry (like for net.ipv6.conf.all.forwarding). > > Note that, it is the same for ipv4 forwarding: > > $ sysctl -wq net.ipv4.conf.all.forwarding=1 > $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding > net.ipv4.conf.all.forwarding = 1 > net.ipv4.conf.ntfp1.forwarding = 1 > $ sysctl -wq net.ipv4.conf.ntfp1.forwarding=0 > $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding > net.ipv4.conf.all.forwarding = 1 > net.ipv4.conf.ntfp1.forwarding = 0 > $ sysctl -wq net.ipv4.conf.all.forwarding=1 > $ sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.ntfp1.forwarding > net.ipv4.conf.all.forwarding = 1 > net.ipv4.conf.ntfp1.forwarding = 0 > > but not for ipv6 forwarding: > $ sysctl -wq net.ipv6.conf.all.forwarding=1 > $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding > net.ipv6.conf.all.forwarding = 1 > net.ipv6.conf.ntfp1.forwarding = 1 > $ sysctl -wq net.ipv6.conf.ntfp1.forwarding=0 > $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding > net.ipv6.conf.all.forwarding = 1 > net.ipv6.conf.ntfp1.forwarding = 0 > $ sysctl -wq net.ipv6.conf.all.forwarding=1 > $ sysctl net.ipv6.conf.all.forwarding net.ipv6.conf.ntfp1.forwarding > net.ipv6.conf.all.forwarding = 1 > net.ipv6.conf.ntfp1.forwarding = 1 Makes sense, aligned the behavior to ipv6 forwarding with this patch: https://lore.kernel.org/all/20261112-ipv6_always_apply-v1-1-8df846631005@proxmox.com/ This patch is still relevant. Thanks for the review. Gabriel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding 2026-11-09 15:53 [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding Gabriel Goller 2026-11-10 17:34 ` Nicolas Dichtel @ 2026-11-11 3:53 ` netdev-bot+sashiko 2026-11-12 12:45 ` Gabriel Goller 1 sibling, 1 reply; 5+ messages in thread From: netdev-bot+sashiko @ 2026-11-11 3:53 UTC (permalink / raw) To: g.goller Cc: dsahern, idosch, davem, edumazet, kuba, pabeni, horms, netdev, linux-kernel Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider. Critical: 0 · High: 0 · Medium: 2 · Low: 1 If you believe none of the issues are legitimate, please reply to each issue of Medium severity or higher and explain why the AI is wrong. If any of them are legitimate and you plan to respin, please let patchwork know by including "pw-bot: cr" as a separate line at the end of your reply (one such reply per series is enough). - [Medium] In net/ipv6/addrconf.c, addrconf_fixup_forwarding() (lines 908-915) now sends inet6_netconf_notify_devconf(net, RTM_NEWNETCONF,… - [Medium] ipv6: missing NETCONFA_FORCE_FORWARDING in inet6_netconf_fill_devconf() - [Low] The patch fixes a user-visible bug but has no Fixes: tag. -- ipv6: reset all.force_forwarding when disabling all.forwarding When all.forwarding is disabled, this patch also clears all.force_forwarding, so that writing 1 to all.force_forwarding later re-enables the interfaces. It also sends a netconf notification for the change. > diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c > index d9d13e78bf13b..9007a58039e65 100644 > --- a/net/ipv6/addrconf.c > +++ b/net/ipv6/addrconf.c > @@ -905,6 +905,14 @@ static int addrconf_fixup_forwarding(const struct ctl_table *table, int *p, int > net->ipv6.devconf_dflt); > > addrconf_forward_change(net, newf); > + /* Disabling all.forwarding also resets all.force_forwarding */ > + if (newf == 0 && net->ipv6.devconf_all->force_forwarding) { > + WRITE_ONCE(net->ipv6.devconf_all->force_forwarding, 0); [Severity: Low] Should this patch carry a Fixes: tag for commit f24987ef6959, the commit that added the force_forwarding sysctl? That commit added the per-interface reset in addrconf_forward_change(): if (newf == 0) WRITE_ONCE(idev->cnf.force_forwarding, 0); It did not reset devconf_all->force_forwarding. Because addrconf_sysctl_force_forwarding() only acts on a write when old_val != new_val, writing 1 again does nothing. Without the tag, stable kernels that have force_forwarding may not pick up this fix. > + inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, > + NETCONFA_FORCE_FORWARDING, > + NETCONFA_IFINDEX_ALL, > + net->ipv6.devconf_all); [Severity: Medium] Does this notification carry the force_forwarding value at all? inet6_netconf_notify_devconf() sizes the skb with inet6_netconf_msgsize_devconf(type) and fills it with inet6_netconf_fill_devconf(). Neither helper handles NETCONFA_FORCE_FORWARDING. They only know about NETCONFA_FORWARDING, NETCONFA_MC_FORWARDING, NETCONFA_PROXY_NEIGH and NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN. So when all.forwarding is set to 0 while all.force_forwarding is set, RTNLGRP_IPV6_NETCONF listeners get an RTM_NEWNETCONF for NETCONFA_IFINDEX_ALL that contains only NETCONFA_IFINDEX. The size and fill helpers agree with each other, so WARN_ON(err == -EMSGSIZE) in inet6_netconf_notify_devconf() never fires. The message without a value goes out silently. An RTM_GETNETCONF request that ends up with all set in inet6_netconf_fill_devconf() also omits force_forwarding. A listener therefore cannot recover the new state by querying afterwards either. The commit message says netconf listeners are notified. With this message they cannot tell what changed or what the new value is. The gap predates this patch. The existing force_forwarding notifications in addrconf_sysctl_force_forwarding() and addrconf_force_forward_change() have the same problem. This patch adds one more caller that depends on that path. Could NETCONFA_FORCE_FORWARDING handling be added to inet6_netconf_msgsize_devconf() and inet6_netconf_fill_devconf(), either as a preceding patch or in the same series? [Severity: Medium] Does this notification actually carry the new force_forwarding value? inet6_netconf_fill_devconf() only puts NETCONFA_FORWARDING, NETCONFA_MC_FORWARDING, NETCONFA_PROXY_NEIGH and NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN. It has no branch for NETCONFA_FORCE_FORWARDING, so for this type it emits only the ifindex: net/ipv6/addrconf.c:inet6_netconf_fill_devconf() { ... if ((all || type == NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) && nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, READ_ONCE(devconf->ignore_routes_with_linkdown)) < 0) goto nla_put_failure; out: nlmsg_end(skb, nlh); ... } inet6_netconf_msgsize_devconf() reserves no space for it either. The two helpers agree, so no WARN fires. As a result, RTNLGRP_IPV6_NETCONF listeners get an RTM_NEWNETCONF for "all" with no NETCONFA_FORCE_FORWARDING attribute. The commit message says "Reset all.force_forwarding too and notify netconf listeners", but listeners cannot tell from this message what changed or what the new value is. The missing fill support dates back to f24987ef6959. The existing force_forwarding notifications in addrconf_sysctl_force_forwarding() and addrconf_force_forward_change() have the same gap. This patch adds one more caller that depends on that path. Could NETCONFA_FORCE_FORWARDING branches be added to both inet6_netconf_msgsize_devconf() and inet6_netconf_fill_devconf(), either as a prerequisite or in the same series? > + } > if ((!newf) ^ (!old)) > inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, > NETCONFA_FORWARDING, -- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261109-ipv6_reset_all-v1-1-815dfd508246%40proxmox.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding 2026-11-11 3:53 ` netdev-bot+sashiko @ 2026-11-12 12:45 ` Gabriel Goller 0 siblings, 0 replies; 5+ messages in thread From: Gabriel Goller @ 2026-11-12 12:45 UTC (permalink / raw) To: netdev-bot+sashiko Cc: dsahern, idosch, davem, edumazet, kuba, pabeni, horms, netdev, linux-kernel On 11.11.2026 03:53, netdev-bot+sashiko@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 3 potential > issue(s) to consider. > > Critical: 0 · High: 0 · Medium: 2 · Low: 1 > > If you believe none of the issues are legitimate, please reply to each > issue of Medium severity or higher and explain why the AI is wrong. > If any of them are legitimate and you plan to respin, please let patchwork > know by including "pw-bot: cr" as a separate line at the end of your reply > (one such reply per series is enough). > > - [Medium] In net/ipv6/addrconf.c, addrconf_fixup_forwarding() (lines > 908-915) now sends inet6_netconf_notify_devconf(net, RTM_NEWNETCONF,… > - [Medium] ipv6: missing NETCONFA_FORCE_FORWARDING in > inet6_netconf_fill_devconf() > - [Low] The patch fixes a user-visible bug but has no Fixes: tag. > > -- > > ipv6: reset all.force_forwarding when disabling all.forwarding > > When all.forwarding is disabled, this patch also clears > all.force_forwarding, so that writing 1 to all.force_forwarding later > re-enables the interfaces. It also sends a netconf notification for the > change. > > > diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c > > index d9d13e78bf13b..9007a58039e65 100644 > > --- a/net/ipv6/addrconf.c > > +++ b/net/ipv6/addrconf.c > > @@ -905,6 +905,14 @@ static int addrconf_fixup_forwarding(const struct ctl_table *table, int *p, int > > net->ipv6.devconf_dflt); > > > > addrconf_forward_change(net, newf); > > + /* Disabling all.forwarding also resets all.force_forwarding */ > > + if (newf == 0 && net->ipv6.devconf_all->force_forwarding) { > > + WRITE_ONCE(net->ipv6.devconf_all->force_forwarding, 0); > > [Severity: Low] > Should this patch carry a Fixes: tag for commit f24987ef6959, the commit > that added the force_forwarding sysctl? > > That commit added the per-interface reset in addrconf_forward_change(): > > if (newf == 0) > WRITE_ONCE(idev->cnf.force_forwarding, 0); > > It did not reset devconf_all->force_forwarding. Because > addrconf_sysctl_force_forwarding() only acts on a write when > old_val != new_val, writing 1 again does nothing. > > Without the tag, stable kernels that have force_forwarding may not pick > up this fix. Hmm not sure about this one. If I make a new version I'll add it. > > + inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, > > + NETCONFA_FORCE_FORWARDING, > > + NETCONFA_IFINDEX_ALL, > > + net->ipv6.devconf_all); > > [Severity: Medium] > Does this notification carry the force_forwarding value at all? > > inet6_netconf_notify_devconf() sizes the skb with > inet6_netconf_msgsize_devconf(type) and fills it with > inet6_netconf_fill_devconf(). Neither helper handles > NETCONFA_FORCE_FORWARDING. They only know about NETCONFA_FORWARDING, > NETCONFA_MC_FORWARDING, NETCONFA_PROXY_NEIGH and > NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN. > > So when all.forwarding is set to 0 while all.force_forwarding is set, > RTNLGRP_IPV6_NETCONF listeners get an RTM_NEWNETCONF for > NETCONFA_IFINDEX_ALL that contains only NETCONFA_IFINDEX. The size and > fill helpers agree with each other, so WARN_ON(err == -EMSGSIZE) in > inet6_netconf_notify_devconf() never fires. The message without a > value goes out silently. > > An RTM_GETNETCONF request that ends up with all set in > inet6_netconf_fill_devconf() also omits force_forwarding. A listener > therefore cannot recover the new state by querying afterwards either. > > The commit message says netconf listeners are notified. With this > message they cannot tell what changed or what the new value is. > > The gap predates this patch. The existing force_forwarding > notifications in addrconf_sysctl_force_forwarding() and > addrconf_force_forward_change() have the same problem. This patch adds > one more caller that depends on that path. > > Could NETCONFA_FORCE_FORWARDING handling be added to > inet6_netconf_msgsize_devconf() and inet6_netconf_fill_devconf(), > either as a preceding patch or in the same series? This is fixed by this commit: 2d916a8c307c ("ipv6: Add NETCONFA_FORCE_FORWARDING to netconf messages") > [Severity: Medium] > Does this notification actually carry the new force_forwarding value? > > inet6_netconf_fill_devconf() only puts NETCONFA_FORWARDING, > NETCONFA_MC_FORWARDING, NETCONFA_PROXY_NEIGH and > NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN. It has no branch for > NETCONFA_FORCE_FORWARDING, so for this type it emits only the ifindex: > > net/ipv6/addrconf.c:inet6_netconf_fill_devconf() { > ... > if ((all || type == NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN) && > nla_put_s32(skb, NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, > READ_ONCE(devconf->ignore_routes_with_linkdown)) < 0) > goto nla_put_failure; > > out: > nlmsg_end(skb, nlh); > ... > } > > inet6_netconf_msgsize_devconf() reserves no space for it either. The two > helpers agree, so no WARN fires. > > As a result, RTNLGRP_IPV6_NETCONF listeners get an RTM_NEWNETCONF for > "all" with no NETCONFA_FORCE_FORWARDING attribute. > > The commit message says "Reset all.force_forwarding too and notify netconf > listeners", but listeners cannot tell from this message what changed or > what the new value is. > > The missing fill support dates back to f24987ef6959. The existing > force_forwarding notifications in addrconf_sysctl_force_forwarding() and > addrconf_force_forward_change() have the same gap. This patch adds one more > caller that depends on that path. > > Could NETCONFA_FORCE_FORWARDING branches be added to both > inet6_netconf_msgsize_devconf() and inet6_netconf_fill_devconf(), either > as a prerequisite or in the same series? Same as above, already fixed. > > + } > > if ((!newf) ^ (!old)) > > inet6_netconf_notify_devconf(net, RTM_NEWNETCONF, > > NETCONFA_FORWARDING, > > -- > Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261109-ipv6_reset_all-v1-1-815dfd508246%40proxmox.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-12 13:43 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-09 15:53 [PATCH net-next] ipv6: reset all.force_forwarding when disabling all.forwarding Gabriel Goller 2026-11-10 17:34 ` Nicolas Dichtel 2026-11-12 13:43 ` Gabriel Goller 2026-11-11 3:53 ` netdev-bot+sashiko 2026-11-12 12:45 ` Gabriel Goller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox