From: Rasesh Mody Date: Tue, 30 Aug 2011 15:27:42 +0000 (+0000) Subject: bna: Initialization and Locking Fix X-Git-Tag: v3.2-rc1~129^2~322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3caa1e9556087ecee27bfddc7beb5758213a4507;p=pandora-kernel.git 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 Signed-off-by: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed