mpls: remove test against ipv6_stub
Subsystems (2)
PATCH 1/1 mpls: remove test against ipv6_stub
ipv6_stub is never NULL, let's remove this test.
Signed-off-by Eric Dumazet <[email protected]>
--- net/mpls/af_mpls.c | 3 --- 1 file changed, 3 deletions(-)
net/mpls/af_mpls.c +0 -3
@@ -640,9 +640,6 @@ static struct net_device *inet6_fib_lookup_dev(struct net *net,struct dst_entry *dst;struct flowi6 fl6; -if (!ipv6_stub) -return ERR_PTR (-EAFNOSUPPORT ); -memset (&fl6,0 ,sizeof (fl6));memcpy (&fl6.daddr, addr,sizeof (struct in6_addr )); dst = ipv6_stub->ipv6_dst_lookup_flow (net,NULL , &fl6,NULL );
Signature · 1 line
2.53.0.473.g4a7958ca14-goog
Quoted 4 lines · Eric Dumazet
ipv6_stubis never NULL, let's remove this test.Signed-off-by Eric Dumazet <[email protected]>
Reviewed-by Kuniyuki Iwashima <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 6 lines · On Sat, 28 Feb 2026 17:57:15 +0000 you wrote:
ipv6_stubis never NULL, let's remove this test.Signed-off-by Eric Dumazet <[email protected]>--- net/mpls/af_mpls.c | 3 --- 1 file changed, 3 deletions(-)
Here is the summary with links:
- [net-next] mpls: remove test against ipv6_stub
https://git.kernel.org/netdev/net-next/c/a0e8c9a5060f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html