[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADiZnkS1cPSs8s3q_UBpcN78fkuF4LZt_Q-A2PkkZ+S5oSFRzw@mail.gmail.com>
Date: Sat, 13 Jan 2018 23:48:55 +0530
From: Sukumar Gopalakrishnan <sukumarg1973@...il.com>
To: netdev@...r.kernel.org
Subject: Linux 4.6: VRF clarification for egress Broadcast Pk
Hi,
VRF egress processing routine does not process multicast packet but
broadcast packet is not diverted. I added code changes to not to
process broadcast packet by the VRF driver.. Is my assumption correct
?
static struct sk_buff *vrf_ip_out(struct net_device *vrf_dev, struct
sock *sk, struct sk_buff *skb) {
/* don’t divert multicast */
if (ipv4_is_multicast(ip_hdr(skb)->daddr))
return skb;
…
/* don’t divert broadcast */
if (ipv4_is_lbcast(ip_hdr(skb)->daddr)) { return skb;
Regards,
Sukumar
Powered by blists - more mailing lists