vxlan: remove vni zero check and drop for COLLECT_METADATA
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 11 Feb 2017 05:38:36 +0000 (21:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Feb 2017 02:25:50 +0000 (21:25 -0500)
commit98eb253cbde7e860fad83fa759058269ca69916d
tree8fba7743bd6a36e2e816910d9dd06a52b0cd5e2c
parentc16ec18599c8c1722d476011786fd9e2529888f7
vxlan: remove vni zero check and drop for COLLECT_METADATA

This patch drops the vni zero check for COLLECT_METADATA mode.
It is not really needed, vni zero is a valid vni.

Fixes: 3ad7a4b141eb ("vxlan: support fdb and learning in COLLECT_METADATA mode"
Reported-by: Joe Stringer <joe@ovn.org>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c