From: Rasesh Mody Date: Wed, 18 Dec 2013 01:07:39 +0000 (-0800) Subject: bna: Handle the TX Setup Failures X-Git-Tag: v3.14-rc1~94^2~466^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f29eeb79ac993a7f1d9e1be5f8c7c3684be0721d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed