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

[IB] uverbs: Close some exploitable races



Al Viro pointed out that the current IB userspace verbs interface
allows userspace to cause mischief by closing file descriptors before
we're ready, or issuing the same command twice at the same time.  This
patch closes those races, and fixes other obvious problems such as a
module reference leak.

Some other interface bogosities will require an ABI change to fix
properly, so I'm deferring those fixes until 2.6.15.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 44dd823b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment