summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/device.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-10-10 02:59:04 (GMT)
committerRoland Dreier <rolandd@cisco.com>2007-10-10 02:59:04 (GMT)
commitce423ef50ee1b6b7db63c748034423aa0afce224 (patch)
tree9504d23398a8c03ca99e4a2fecdaee45b540a077 /drivers/infiniband/core/device.c
parente54664c0958acf14ef3a65d1b78f4a54b437cdf7 (diff)
downloadlinux-ce423ef50ee1b6b7db63c748034423aa0afce224.tar.xz
IPoIB: Make sure no receives are handled when stopping device
The current IPoIB code might process receive completions from ipoib_drain_cq() when bringing down the interface. This could cause packets to be passed up the stack without the device's poll method being called. Avoid this by setting the status of any successful completions to IB_WC_WR_FLUSH_ERR. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core/device.c')
0 files changed, 0 insertions, 0 deletions