bna: PCI Probe Fix
Subsystems (2)
Hi Rasesh,
There is a problem introduced in 0caa9aaec5 "bna: PCI Probe Fix".
If register_netdev() fails now, then we call mutex_unlock(&bnad->conf_mutex); on the error path, but it's already unlocked.
regards,
dan carpenter
Quoted 8 lines
From: Dan Carpenter [mailto:[email protected]]
Sent: Tuesday, September 20, 2011 1:47 AMThere is a problem introduced in
0caa9aaec5"bna: PCI Probe Fix".If
register_netdev()fails now, then we call mutex_unlock(&bnad-Quoted 1 line
conf_mutex);on the error path, but it's already unlocked.
Thanks Dan!
Sent a fix so that we acquire the lock in error path which will be later unlocked after the cleanup.
Regards,
Rasesh