diff options
| author | Oscar Maes <[email protected]> | 2025-08-27 06:23:21 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-08-28 08:52:30 +0000 |
| commit | 5189446ba995556eaa3755a6e875bc06675b88bd (patch) | |
| tree | b49ec45aeafb8c87e896c2f843eb589959a2ebb3 /net/bluetooth/l2cap_sock.c | |
| parent | net: macb: Disable clocks once (diff) | |
| download | kernel-5189446ba995556eaa3755a6e875bc06675b88bd.tar.gz kernel-5189446ba995556eaa3755a6e875bc06675b88bd.zip | |
net: ipv4: fix regression in local-broadcast routes
Commit 9e30ecf23b1b ("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: 9e30ecf23b1b ("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]>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions
