]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf137493583049e93b047e6e761fd0398c6b05f4a
tree5badff59c0117f8e633cbc10ff1237b10774f723
parent24358c44cf23ac199b4e9d5cffbc4d93aefcbe86
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