diff options
author | 2009-09-05 20:36:37 -0700 | |
---|---|---|
committer | 2009-09-05 20:36:37 -0700 | |
commit | 5ee21fe0eaf68fb840f442131ab7addced1a31c3 (patch) | |
tree | c2161f284345f6f993b6e467b3840676c1141169 /scripts/selinux/genheaders/genheaders.c | |
parent | RDMA/nes: Change memory allocation for cqp request to GFP_ATOMIC (diff) | |
download | wireguard-linux-5ee21fe0eaf68fb840f442131ab7addced1a31c3.tar.xz wireguard-linux-5ee21fe0eaf68fb840f442131ab7addced1a31c3.zip |
RDMA/nes: Clean out CQ completions when QP is destroyed
When a QP is destroyed, unprocessed CQ entries could still reference
the QP. This change zeroes the context value at QP destroy time. By
skipping over cqe's with a zero context, poll_cq no longer processes a
cqe for a destroyed QP.
Signed-off-by: Don Wood <donald.e.wood@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions