qlcnic: fix rcv buffer leak
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 22 Apr 2010 02:51:40 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Apr 2010 22:28:30 +0000 (15:28 -0700)
commited6f1353e195b4432e251667b2d84d766d07c79c
treec3431005c6e541dd65f23a8af7a7eb16b3ee4d8f
parentade91f8ec92da43b62b0efaa854cfd4b5ec0c0c9
qlcnic: fix rcv buffer leak

Rcv producer value should be read in spin-lock.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_init.c