]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: track vxlan port count
authorJiri Benc <jbenc@redhat.com>
Thu, 17 Sep 2015 14:11:14 +0000 (16:11 +0200)
committerDan Duval <dan.duval@oracle.com>
Mon, 19 Oct 2015 22:15:14 +0000 (18:15 -0400)
commit711bf6cef5c7cb5722b6a5292471404cf66c97a3
tree4eb206e10e870451436a92eb0e791baadd2af181
parent41bde0fab0ddb81a6ba52515d041ba52cfaaa96e
bnx2x: track vxlan port count

Orabug: 22066196

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>
(cherry picked from commit ac7eccd4d48fcc70d9fd6e4d10657bcde0a73f9f)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c