diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2013-03-15 05:27:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-17 12:26:52 -0400 |
commit | 722c6f585088a2c392b4c5d01b87a584bb8fb73f (patch) | |
tree | 00ea3308b5052bdc6b4b92dd35f9ff7ac993a79c /net/bridge | |
parent | c62dce61261c9bb90f74a493f55b35ae2480c8ae (diff) | |
download | linux-stable-722c6f585088a2c392b4c5d01b87a584bb8fb73f.tar.gz linux-stable-722c6f585088a2c392b4c5d01b87a584bb8fb73f.tar.bz2 linux-stable-722c6f585088a2c392b4c5d01b87a584bb8fb73f.zip |
bnx2x: add missing napi deletion in error path
If the hardware initialization fails in bnx2x_nic_load() after adding
napi objects, they would not be deleted. A subsequent attempt to unload
the bnx2x module detects a corruption in the napi list.
Add the missing napi deletion to the error path.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions