[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>
Showing
- include/net/sock.h 10 additions, 0 deletionsinclude/net/sock.h
- include/net/tcp.h 0 additions, 9 deletionsinclude/net/tcp.h
- net/ipv4/ip_output.c 2 additions, 5 deletionsnet/ipv4/ip_output.c
- net/ipv4/tcp_ipv4.c 4 additions, 8 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 1 addition, 0 deletionsnet/ipv4/tcp_minisocks.c
Loading
Please register or sign in to comment