netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henry Shen <henry.shen@alliedtelesis.co.nz>
To: davem@davemloft.net
Cc: yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	chris.packham@alliedtelesis.co.nz,
	Henry Shen <henry.shen@alliedtelesis.co.nz>
Subject: [PATCH] net:ipv4: Packet is not forwarded when ingress interface is not configured with bc_forwarding
Date: Mon,  1 Mar 2021 12:52:23 +1300	[thread overview]
Message-ID: <20210228235224.30445-1-henry.shen@alliedtelesis.co.nz> (raw)

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 ingress interface is not
    configured with bc_forwarding

 net/ipv4/route.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

-- 
2.30.1


             reply	other threads:[~2021-02-28 23:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-28 23:52 Henry Shen [this message]
2021-02-28 23:52 ` [PATCH] net:ipv4: Packet is not forwarded when ingress interface is not configured with bc_forwarding Henry Shen
2021-03-01  0:53 Henry Shen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210228235224.30445-1-henry.shen@alliedtelesis.co.nz \
    --to=henry.shen@alliedtelesis.co.nz \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).