kernel-ark/net
Gerrit Renker a94f723d59 [TCP]: Remove dead code in init_sequence
This removes two redundancies:

1) The test (skb->protocol == htons(ETH_P_IPV6) in tcp_v6_init_sequence()
   is always true, due to
	* tcp_v6_conn_request() is the only function calling this one
	* tcp_v6_conn_request() redirects all skb's with ETH_P_IP protocol to
	  tcp_v4_conn_request() [ cf. top of tcp_v6_conn_request()]

2) The first argument, `struct sock *sk' of tcp_v{4,6}_init_sequence() is
   never used.

Signed-off-by: Gerrit Renker  <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-12-02 21:22:10 -08:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [NET]: Turn nfmark into generic mark 2006-12-02 21:21:38 -08:00
core [NET]: Size listen hash tables using backlog hint 2006-12-02 21:21:44 -08:00
dccp [DCCP]: Support for partial checksums (RFC 4340, sec. 9.2) 2006-12-02 21:22:09 -08:00
decnet [NET] rules: Share common attribute validation policy 2006-12-02 21:21:41 -08:00
econet
ethernet
ieee80211
ipv4 [TCP]: Remove dead code in init_sequence 2006-12-02 21:22:10 -08:00
ipv6 [TCP]: Remove dead code in init_sequence 2006-12-02 21:22:10 -08:00
ipx
irda
key
lapb
llc
netfilter [NET]: Turn nfmark into generic mark 2006-12-02 21:21:38 -08:00
netlabel
netlink
netrom
packet
rose
rxrpc
sched [PKT_SCHED]: Make sch_fifo.o available when CONFIG_NET_SCHED is not set. 2006-12-02 21:21:43 -08:00
sctp [TCP]: Don't set SKB owner in tcp_transmit_skb(). 2006-12-02 21:21:52 -08:00
sunrpc
tipc
unix
wanrouter
x25
xfrm [XFRM]: uninline xfrm_selector_match() 2006-12-02 21:21:36 -08:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE