bnx2x: do not rollback VF MAC/VLAN filters we did not configure
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 3 Mar 2017 16:08:32 +0000 (17:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 21:47:15 +0000 (13:47 -0800)
commit78d5505432436516456c12abbe705ec8dee7ee2b
tree94cbf48009e9ae373502a7495cbaefcc429b5a01
parent83bd9eb8fc69cdd5135ed6e1f066adc8841800fd
bnx2x: do not rollback VF MAC/VLAN filters we did not configure

On failure to configure a VF MAC/VLAN filter we should not attempt to
rollback filters that we failed to configure with -EEXIST.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h