Home
last modified time | relevance | path

Searched hist:"614 d79c0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/
H A Dsocket.c614d79c0 Mon Jul 24 12:25:22 CDT 2017 stephen hemminger <stephen@networkplumber.org> socket: fix set not used warning

The variable owned_by_user is always set, but only used
when kernel is configured with LOCKDEP enabled.

Get rid of the warning by moving the code to put the call
to owned_by_user into the the rcu_protected call.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>