Files
erofs-linux/net
Oscar Maes 5189446ba9 net: ipv4: fix regression in local-broadcast routes
Commit 9e30ecf23b ("net: ipv4: fix incorrect MTU in broadcast routes")
introduced a regression where local-broadcast packets would have their
gateway set in __mkroute_output, which was caused by fi = NULL being
removed.

Fix this by resetting the fib_info for local-broadcast packets. This
preserves the intended changes for directed-broadcast packets.

Cc: [email protected]
Fixes: 9e30ecf23b ("net: ipv4: fix incorrect MTU in broadcast routes")
Reported-by: Brett A C Sheffield <[email protected]>
Closes: https://lore.kernel.org/regressions/[email protected]
Signed-off-by: Oscar Maes <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
2025-08-28 10:52:30 +02:00
..
…
…
…
2025-06-23 16:58:43 -07:00
…
…
…
…
…
2025-06-23 17:05:12 -07:00
…
…
…
…
…
…
2025-06-23 17:04:03 -07:00