be2net: allow offloading with the same port for IPv4 and IPv6
authorJiri Benc <jbenc@redhat.com>
Thu, 17 Sep 2015 14:11:13 +0000 (16:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 05:32:16 +0000 (22:32 -0700)
commit1e5b311ab2cc3baf73cdff066ab39c7466bf166b
tree5badff59c0117f8e633cbc10ff1237b10774f723
parent378fddc281072a10b621341b9f78c902303a8fe7
be2net: allow offloading with the same port for IPv4 and IPv6

The callback for adding vxlan port can be called with the same port for both
IPv4 and IPv6. Do not disable the offloading if this occurs.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c