]> git.baikalelectronics.ru Git - kernel.git/commit
[SOCK]: Introduce sk_setup_caps
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Wed, 10 Aug 2005 02:49:02 +0000 (19:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:37:48 +0000 (15:37 -0700)
commit8b8caa07b950ac409f043209c299afd9b221ad48
tree152b75c0279b8f612412f24a5ab35ab6d5a208d8
parent26fa5ed0a27a135e40eb57e5372313ff86b76db3
[SOCK]: Introduce sk_setup_caps

From tcp_v4_setup_caps, that always is preceded by a call to
__sk_dst_set, so coalesce this sequence into sk_setup_caps, removing
one call to a TCP function in the IP layer.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
include/net/tcp.h
net/ipv4/ip_output.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c