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)
commit9f9b16458134ba9f06ef6f15369513aa9eebc81c
treed43804b6c7e2b2b4eea94f5383cb9ba1cdf30a3e
parentcd883a791b55c3c52ce402cd551585fed092d240
vxge: spin-lock issue

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>
drivers/net/vxge/vxge-config.c