[PATCH] net:ipv4: Packet is not forwarded when ingress interface is not configured with bc_forwarding

2021-02-28 Thread Henry Shen
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

[PATCH] net:ipv4: Packet is not forwarded if bc_forwarding not configured on ingress interface

2021-02-28 Thread Henry Shen
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

[PATCH] net:ipv4: Packet is not forwarded when ingress interface is not configured with bc_forwarding

2021-02-28 Thread Henry Shen
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

[PATCH] net:ipv4: Packet is not forwarded when ingress interface is not configured with bc_forwarding

2021-02-28 Thread Henry Shen
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