mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
sock_owned_by_user should not be used without socket lock held. It seems to be a common practice to check .owned before lock reclassification, so provide a little help to abstract this check away. Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>