]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[INET]: Introduce inet_sk_rebuild_header
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Wed, 10 Aug 2005 02:50:02 +0000 (19:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:37:55 +0000 (15:37 -0700)
commit32519f11d38ea8f4f60896763bacec7db1760f9c
tree9e3fe09e4f7468f119350d80a6ecb8d871a86dd0
parent6cbb0df788b90777a7ed0f9d8261260353f48076
[INET]: Introduce inet_sk_rebuild_header

From tcp_v4_rebuild_header, that already was pretty generic, I only
needed to use sk->sk_protocol instead of the hardcoded IPPROTO_TCP and
establish the requirement that INET transport layer protocols that
want to use this function map TCP_SYN_SENT to its equivalent state.

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