Skip to content
Commit ce423ef5 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent e54664c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment