diff options
author | Rasesh Mody <rmody@brocade.com> | 2011-08-30 15:27:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 15:36:33 -0400 |
commit | 3caa1e9556087ecee27bfddc7beb5758213a4507 (patch) | |
tree | 281038c056cd2c9588858caf7043c66bbf577500 /net/lapb/lapb_iface.c | |
parent | 19dbff9feea4f31ab3cdae53b98ef4484b554592 (diff) |
bna: Initialization and Locking Fix
Change details:
- Initialize rx_id to 0 for bnad_cleanup_rx
- Return -ENOMEM in case if bna_rx_create fails
- Count the Rx buffer allocation failures in bnad_alloc_n_post_rxbufs()
- Remove unnecessary initialization of using_dac to false in bnad_pci_probe
- Release lock if error while doing bna_num_txq_set in bnad_pci_probe
Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions