linux/net/core/dev.c
Pablo Neira Ayuso 548244c2f5 net: remove WARN_ON_ONCE when accessing forward path array
[ Upstream commit 008e7a7c29 ]

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: ddb94eafab ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:19:51 -05:00

11776 lines
294 KiB