* [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
@ 2023-12-19 3:07 David Ahern
2023-12-19 8:34 ` Eric Dumazet
2023-12-21 21:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 5+ messages in thread
From: David Ahern @ 2023-12-19 3:07 UTC (permalink / raw)
To: netdev; +Cc: edumazet, David Ahern
A revert of
3dec89b14d37 ("net/ipv6: Remove expired routes with a separated list of routes")
was sent for net-next. Revert the remainder of 5a08d0065a915
which added a warn on if a fib entry is still on the gc_link list
to avoid compile failures when net is merged to net-next
Signed-off-by: David Ahern <dsahern@kernel.org>
---
include/net/ip6_fib.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 95ed495c3a40..1ba9f4ddf2f6 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -328,10 +328,8 @@ static inline bool fib6_info_hold_safe(struct fib6_info *f6i)
static inline void fib6_info_release(struct fib6_info *f6i)
{
- if (f6i && refcount_dec_and_test(&f6i->fib6_ref)) {
- DEBUG_NET_WARN_ON_ONCE(!hlist_unhashed(&f6i->gc_link));
+ if (f6i && refcount_dec_and_test(&f6i->fib6_ref))
call_rcu(&f6i->rcu, fib6_info_destroy_rcu);
- }
}
enum fib6_walk_state {
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
2023-12-19 3:07 [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release David Ahern
@ 2023-12-19 8:34 ` Eric Dumazet
2023-12-21 21:11 ` Paolo Abeni
2023-12-21 21:30 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2023-12-19 8:34 UTC (permalink / raw)
To: David Ahern; +Cc: netdev
On Tue, Dec 19, 2023 at 4:07 AM David Ahern <dsahern@kernel.org> wrote:
>
> A revert of
> 3dec89b14d37 ("net/ipv6: Remove expired routes with a separated list of routes")
> was sent for net-next. Revert the remainder of 5a08d0065a915
> which added a warn on if a fib entry is still on the gc_link list
> to avoid compile failures when net is merged to net-next
>
> Signed-off-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Thanks !
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
2023-12-19 8:34 ` Eric Dumazet
@ 2023-12-21 21:11 ` Paolo Abeni
2023-12-21 21:21 ` Paolo Abeni
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Abeni @ 2023-12-21 21:11 UTC (permalink / raw)
To: Eric Dumazet, David Ahern; +Cc: netdev
On Tue, 2023-12-19 at 09:34 +0100, Eric Dumazet wrote:
> On Tue, Dec 19, 2023 at 4:07 AM David Ahern <dsahern@kernel.org> wrote:
> >
> > A revert of
> > 3dec89b14d37 ("net/ipv6: Remove expired routes with a separated list of routes")
> > was sent for net-next. Revert the remainder of 5a08d0065a915
> > which added a warn on if a fib entry is still on the gc_link list
> > to avoid compile failures when net is merged to net-next
> >
> > Signed-off-by: David Ahern <dsahern@kernel.org>
>
> Reviewed-by: Eric Dumazet <edumazet@google.com>
Oops, I notice a bit too late I should have processed this one before
merging back net into net-next.
I'll squash this change into the merge commit to preserve
bisectability.
Cheers,
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
2023-12-21 21:11 ` Paolo Abeni
@ 2023-12-21 21:21 ` Paolo Abeni
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Abeni @ 2023-12-21 21:21 UTC (permalink / raw)
To: Eric Dumazet, David Ahern; +Cc: netdev
On Thu, 2023-12-21 at 22:11 +0100, Paolo Abeni wrote:
> On Tue, 2023-12-19 at 09:34 +0100, Eric Dumazet wrote:
> > On Tue, Dec 19, 2023 at 4:07 AM David Ahern <dsahern@kernel.org> wrote:
> > >
> > > A revert of
> > > 3dec89b14d37 ("net/ipv6: Remove expired routes with a separated list of routes")
> > > was sent for net-next. Revert the remainder of 5a08d0065a915
> > > which added a warn on if a fib entry is still on the gc_link list
> > > to avoid compile failures when net is merged to net-next
> > >
> > > Signed-off-by: David Ahern <dsahern@kernel.org>
> >
> > Reviewed-by: Eric Dumazet <edumazet@google.com>
>
> Oops, I notice a bit too late I should have processed this one before
> merging back net into net-next.
Actually is not too late. I'll apply this commit just before merging
back net. Sorry for the noise.
/P
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
2023-12-19 3:07 [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release David Ahern
2023-12-19 8:34 ` Eric Dumazet
@ 2023-12-21 21:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-12-21 21:30 UTC (permalink / raw)
To: David Ahern; +Cc: netdev, edumazet
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 18 Dec 2023 20:07:42 -0700 you wrote:
> A revert of
> 3dec89b14d37 ("net/ipv6: Remove expired routes with a separated list of routes")
> was sent for net-next. Revert the remainder of 5a08d0065a915
> which added a warn on if a fib entry is still on the gc_link list
> to avoid compile failures when net is merged to net-next
>
> Signed-off-by: David Ahern <dsahern@kernel.org>
>
> [...]
Here is the summary with links:
- [net-next] net/ipv6: Remove gc_link warn on in fib6_info_release
https://git.kernel.org/netdev/net-next/c/5a78a8121c4d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-21 21:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 3:07 [PATCH net-next] net/ipv6: Remove gc_link warn on in fib6_info_release David Ahern
2023-12-19 8:34 ` Eric Dumazet
2023-12-21 21:11 ` Paolo Abeni
2023-12-21 21:21 ` Paolo Abeni
2023-12-21 21:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).