Allow an IPv4 packet with a destination address of broadcast to be forwarded
if the ingress interface is not configured with bc_forwarding but the egress
interface is. This is inline with Cisco's implementation of directed
broadcast.
Henry Shen (1):
net:ipv4: Fix pakcet not forwarded
with bc_forwarding, the packet can be forwarded
successfully.
This patch is to be inline with Cisco's implementation that packet can be
forwarded if ingress interface is NOT configured with bc_forwarding,
but egress interface is.
Signed-off-by: Henry Shen
---
net/ipv4/route.c
Allow an IPv4 packet with a destination address of broadcast to be forwarded
if the ingress interface is not configured with bc_forwarding but the egress
interface is. This is inline with Cisco's implementation of directed
broadcast.
Henry Shen (1):
net:ipv4: Fix pakcet not forwarded
When an IPv4 packet with a destination address of broadcast is received
on an ingress interface, it will not be forwarded out of the egress
interface if the ingress interface is not configured with bc_forwarding
but the egress interface is. If both the ingress and egress interfaces
are configured