]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 14 Jul 2017 17:54:27 +0000 (10:54 -0700)
commitbebf245321fcc846013517a61937a026fc7dbdf1
tree37ef459625fb07481296d01de11ebae91a0f0687
parentacad2df701991db8b24a4189aae833b0a90d3e6e
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.

Orabug: 26440216

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 78d5505432436516456c12abbe705ec8dee7ee2b)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h