]> 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)
commit32f0803fa482676d207a84760d0919d347ea1f09
tree1c91b81cc0bc359ffd87a896227395c3acee833d
parent50e21e4e1048565933aeca26706ef70794ff50ec
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