net: rename sk_clone to sk_clone_lock
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 8 Nov 2011 22:07:07 +0000 (17:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 22:07:07 +0000 (17:07 -0500)
commite56c57d0d3fdbbdf583d3af96bfb803b8dfa713e
treef415160c8fd39efebfc49d41493cc5b964503482
parent9ecd04bc04af7df98b3a93c571e31b6ef6a90681
net: rename sk_clone to sk_clone_lock

Make clear that sk_clone() and inet_csk_clone() return a locked socket.

Add _lock() prefix and kerneldoc.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
include/net/sock.h
net/core/sock.c
net/dccp/minisocks.c
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_minisocks.c