net: remove WARN_ON_ONCE when accessing forward path array
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Feb 2026 11:56:39 +0000 (12:56 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 17 Feb 2026 14:04:20 +0000 (15:04 +0100)
commit008e7a7c293b30bc43e4368dac6ea3808b75a572
tree91f0af6cf5e7f9c3f2448e632ce6300dd568b310
parent8fde939b0206afc1d5846217a01a16b9bc8c7896
net: remove WARN_ON_ONCE when accessing forward path array

Although unlikely, recent support for IPIP tunnels increases chances of
reaching this WARN_ON_ONCE if userspace manages to build a sufficiently
long forward path.

Remove it.

Fixes: ddb94eafab8b ("net: resolve forwarding path from virtual netdevice and HW destination address")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/core/dev.c