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

________________________________

DISCLAIMER:
This e-mail and any attachments to it may contain confidential and proprietary 
material and is solely for the use of the intended recipient. Any review, use, 
disclosure, distribution or copying of this transmittal is prohibited except by 
or on behalf of the intended recipient. If you have received this transmittal 
in error, please notify the sender and destroy this e-mail and any attachments 
and all copies, whether electronic or printed.

Reply via email to