bnx2x: Memory leak during VF removal
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 24 Apr 2014 16:29:52 +0000 (19:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:15:27 +0000 (12:15 -0400)
commite2a367f8e3c2afd5cfd5f0892844c74960ecc031
treeee8c1694d7ddf250489983569fdf44600ca13d50
parent1c2658545816088477e91860c3a645053719cb54
bnx2x: Memory leak during VF removal

When removing a VF interface, the driver fails to release that VF's mailbox
and bulletin board allocated memory.

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_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h