]> git.itanic.dy.fi Git - linux-stable/commit
sock: Add sock_owned_by_user_nocheck
authorTom Herbert <tom@quantonium.net>
Thu, 28 Dec 2017 19:00:43 +0000 (11:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 19:28:22 +0000 (14:28 -0500)
commit602f7a2714a3b3aa4bec82ab0a86a9f5a2c4aa61
tree6b21c6d597871fcf6a46e57dde87f85a4f9f8ad6
parentf72c4ac695573699dde5b71da1c3b9ef80440616
sock: Add sock_owned_by_user_nocheck

This allows checking socket lock ownership with producing lockdep
warnings.

Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h