bnx2x: Fix vxlan removal
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 19 Nov 2015 09:56:51 +0000 (11:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 15:58:31 +0000 (10:58 -0500)
commit425d3d83707d378d97d1f7d460ce3083a1948c20
tree322035b48448407f742cd800cb179ccb74945b87
parent5d4c9bfbabdb1d497f21afd81501e5c54b0c85d9
bnx2x: Fix vxlan removal

Commmit ac7eccd4d48fc "bnx2x: track vxlan port count" contains a bug -
Instead of achieving the required goal, vxlan configuration would not
be removed since we're decrementing the port instead of the counter.

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