]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Bypass encapsulation if the destination is local
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 2 Apr 2013 12:31:52 +0000 (12:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 20:58:13 +0000 (16:58 -0400)
commit30e3ebbd9a964a0e6dfa85e429f96e6a345cf565
tree1c91b81cc0bc359ffd87a896227395c3acee833d
parent4451d59571563b570064e8076a9e87ecce4d879e
vxlan: Bypass encapsulation if the destination is local

This patch bypasses vxlan encapsulation if the destination vxlan
endpoint is a local device.

Changes since v1: added missing check for vxlan_find_vni() failure

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c