diff options
author | 2009-09-05 20:23:40 -0700 | |
---|---|---|
committer | 2009-09-05 20:23:40 -0700 | |
commit | 721d67cdca5b7642b380ca0584de8dceecf6102f (patch) | |
tree | ff54ae434cca6f6d860504094daa84df645ad4db /scripts/selinux | |
parent | IPoIB: Remove unused <rdma/ib_cache.h> includes (diff) | |
download | wireguard-linux-721d67cdca5b7642b380ca0584de8dceecf6102f.tar.xz wireguard-linux-721d67cdca5b7642b380ca0584de8dceecf6102f.zip |
IPoIB: Drop priv->lock before calling ipoib_send()
IPoIB currently must use irqsave locking for priv->lock, since it is
taken from interrupt context in one path. However, ipoib_send() does
skb_orphan(), and the network stack locking is not IRQ-safe.
Therefore we need to make sure we don't hold priv->lock when calling
ipoib_send() to avoid lockdep warnings (the code was almost certainly
safe in practice, since the only code path that takes priv->lock from
interrupt context would never call into the network stack).
Addresses: http://bugzilla.kernel.org/show_bug.cgi?id=13757
Reported-by: Bart Van Assche <bart.vanassche@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions