From: Rasesh Mody Date: Thu, 22 Sep 2011 00:55:41 +0000 (-0400) Subject: bna: PCI Probe Conf Lock Fix X-Git-Tag: v3.2-rc1~129^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fc72370186be2f9d4d6ef06d99e1caa5d92c564;p=pandora-kernel.git bna: PCI Probe Conf Lock Fix If register_netdev() fails now, then we call mutex_unlock(&bnad->conf_mutex); on the error path, but it's already unlocked. So we acquire the lock in error path which will be later unlocked after the cleanup. Reported-by: Dan Carpenter Signed-off-by: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed