IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free
authorDave Olson <dave.olson@qlogic.com>
Fri, 5 Dec 2008 19:14:38 +0000 (11:14 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 5 Dec 2008 19:14:38 +0000 (11:14 -0800)
commit3d0890985ac4dff781b7feba19fedda547314749
tree4e18e4e70c32abf9450c223db97affb1d05dbeeb
parent1bf7724e093cf3071d943d53bfa4de8b8e50426b
IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free

Fixes timing race resulting in panic.  Not a performance sensitive path.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_kernel.h
drivers/infiniband/hw/ipath/ipath_keys.c
drivers/infiniband/hw/ipath/ipath_mad.c
drivers/infiniband/hw/ipath/ipath_verbs.c