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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Dec 2017 08:28:20 +0000 (09:28 +0100)
commitd8f147ac75bbca8a6efadb0beb451f3717b1dd26
tree2bcc0f45fd3603398ededbb78fe4ee6d73e5d6d6
parentcdef3be8c7bb2caabfe9886ac88f60b0c1dcd370
bnx2x: do not rollback VF MAC/VLAN filters we did not configure

[ Upstream commit 78d5505432436516456c12abbe705ec8dee7ee2b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h