]> 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)
commit079804f28f1334358fafee5830b1a234b3fe7cd7
tree5badff59c0117f8e633cbc10ff1237b10774f723
parentf0186858e761423f1db06bebbe98c7eadb19fb23
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