bnx2x: Fix possible memory leak on iov error flow
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 27 Mar 2014 11:46:37 +0000 (13:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2014 20:18:02 +0000 (16:18 -0400)
commitdae98cadf743daa480c357b7ba4410423c5f905f
tree4bf6764549f54e4700e483f1a16a687c82f2ed30
parentb5893a08812602de164fa5ac6494f84df8d09a4f
bnx2x: Fix possible memory leak on iov error flow

Commit 2dc33bbc4 "bnx2x: Remove the sriov VFOP mechanism" introduced a possible
memory leak on the error flow during multicast filters configuration.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c