vxge: spin-lock issue
authorJon Mason <jdmason@kudzu.us>
Fri, 8 Apr 2011 11:11:22 +0000 (11:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Apr 2011 18:22:34 +0000 (11:22 -0700)
In vxge_hw_vpath_close, __vxge_hw_vp_terminate memsets the vpath which
clobbers the spin lock state, then the driver attempts to acquire the
spin lock.  Resolve this by not zeroing the lock part of vpath struct,
clean-up vpath locking in init, close, and fix locking hole in fw_api
call.

Issue found by Bob Picco <bpicco@redhat.com>

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found