]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: track vxlan port count
authorJiri Benc <jbenc@redhat.com>
Thu, 17 Sep 2015 14:11:14 +0000 (16:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 05:32:16 +0000 (22:32 -0700)
commita9d6e6e697d7b8be5d4790ce663526f6baf85cc4
tree21fd769e14f88810db52803c289525736e215370
parent079804f28f1334358fafee5830b1a234b3fe7cd7
bnx2x: track vxlan port count

The callback for adding vxlan port can be called with the same port for
both IPv4 and IPv6. Do not disable the offloading when the same port for
both protocols is added and later one of them removed.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c