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)
commit9dcc71e1fdbb7aa10d92a3d35e8a201adc84abd0
tree1c91b81cc0bc359ffd87a896227395c3acee833d
parentc4637cdf4839938a1c87d8da8f55055d6e9ec206
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