diff options
| author | 2013-12-17 17:07:39 -0800 | |
|---|---|---|
| committer | 2013-12-18 00:30:34 -0500 | |
| commit | f29eeb79ac993a7f1d9e1be5f8c7c3684be0721d (patch) | |
| tree | 23a257081ba5b61d8dcd0a6c86da0b81ff6e7722 /include/linux/uts.h | |
| parent | bna: Add NULL Check Before Dereferencing TCB (diff) | |
| download | linux-dev-f29eeb79ac993a7f1d9e1be5f8c7c3684be0721d.tar.xz linux-dev-f29eeb79ac993a7f1d9e1be5f8c7c3684be0721d.zip | |
bna: Handle the TX Setup Failures
Change details:
- When bnad_setup_tx() returns NULL, the error is NOT returned to the caller.
The caller will incorrectly assume success. So Return ENOMEM when bna_tx_create()
fails.
- If bnad_tx_msix_register() fails, call bna_tx_destroy() to free tx & to NULL
the bnad reference to tcb.
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/uts.h')
0 files changed, 0 insertions, 0 deletions
