]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: don't bypass encapsulation for multi- and broadcasts
authorMike Rapoport <mike.rapoport@ravellosystems.com>
Sat, 13 Apr 2013 23:21:51 +0000 (23:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2013 18:06:39 +0000 (14:06 -0400)
commit4c63cd043906dacaf767463b2c243166b0dd4991
tree4a3f4adb8cd87cc049f3c5825d3ac272307add22
parent42ad8739d2134bc7d69ac3f3fba261e86b154222
vxlan: don't bypass encapsulation for multi- and broadcasts

The multicast and broadcast packets may have RTCF_LOCAL set in rt_flags
and therefore will be sent out bypassing encapsulation. This breaks
delivery of packets sent to the vxlan multicast group.
Disabling encapsulation bypass for multicasts and broadcasts fixes the
issue.

Signed-off-by: Mike Rapoport <mike.rapoport@ravellosystems.com>
Tested-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Tested-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c