]> err.no Git - linux-2.6/commit
net: Add sk_set_socket() helper.
authorDavid S. Miller <davem@davemloft.net>
Wed, 18 Jun 2008 05:41:38 +0000 (22:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jun 2008 05:41:38 +0000 (22:41 -0700)
commit972692e0db9b0a62329ca394062b58917ddbd03c
tree6060599150b57de1f94ed85f8078da098fb8eb6a
parent5bbc1722d52ad3df062d5742a7e958276e57ebd7
net: Add sk_set_socket() helper.

In order to more easily grep for all things that set
sk->sk_socket, add sk_set_socket() helper inline function.

Suggested (although only half-seriously) by Evgeniy Polyakov.

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