diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-06-13 22:13:38 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-13 22:13:46 +0200 |
commit | 4c7d3d79c736186bb2585f2d0a8231e1fac839da (patch) | |
tree | 5abd973d57d360e24c9df2f17e942176ab2faaa5 /net/ipv6/route.c | |
parent | CDC-NCM: add support for Apple's private interface (diff) | |
parent | Merge tag 'net-6.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff) | |
download | linux-4c7d3d79c736186bb2585f2d0a8231e1fac839da.tar.xz linux-4c7d3d79c736186bb2585f2d0a8231e1fac839da.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR.
No conflicts, no adjacent changes.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1916de615398..6c9fc4fc9334 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -6341,12 +6341,12 @@ static int ipv6_sysctl_rtcache_flush(struct ctl_table *ctl, int write, if (!write) return -EINVAL; - net = (struct net *)ctl->extra1; - delay = net->ipv6.sysctl.flush_delay; ret = proc_dointvec(ctl, write, buffer, lenp, ppos); if (ret) return ret; + net = (struct net *)ctl->extra1; + delay = net->ipv6.sysctl.flush_delay; fib6_run_gc(delay <= 0 ? 0 : (unsigned long)delay, net, delay > 0); return 0; } |