net: Fix build failure due to lockdep_sock_is_held().
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 00:40:25 +0000 (20:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 00:40:25 +0000 (20:40 -0400)
commitb33b0a1bf69faff89693df49519fa7b459f5d807
treea8de7deda833a9e7cfd837da4abe2140eb506fd3
parent03be98226c14d787939381b9f42d81764ea8eedc
net: Fix build failure due to lockdep_sock_is_held().

Needs to be protected with CONFIG_LOCKDEP.

Based upon a patch by Hannes Frederic Sowa.

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