kernel-fxtec-pro1x/net/dccp
Gerrit Renker 865e9022d8 [DCCP]: Remove redundant statements in init_sequence (ISS)
This patch removes the following redundancies:

 1) The test skb->protocol == htons(ETH_P_IPV6) in dccp_v6_init_sequence
    is always true since
     * dccp_v6_conn_request() is the only calling function
     * dccp_v6_conn_request() redirects all skb's with ETH_P_IP to
       dccp_v4_conn_request()

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

(This is similar for tcp_v{4,6}_init_sequence, an analogous patch has been
 submitted to netdev and merged.)

By the way - are the `sport' / `dport' arguments in the right order?
I have made them consistent among calls but they seem to be in the
reverse order.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-02 21:22:21 -08:00
..
ccids [DCCP]: fix printk format warnings 2006-10-30 15:24:37 -08:00
ackvec.c [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
ackvec.h [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
ccid.c
ccid.h
dccp.h [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
diag.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.h [DCCP]: Add sysctls to control retransmission behaviour 2006-12-02 21:22:18 -08:00
input.c [DCCP]: Update code comments for Step 2/3 2006-12-02 21:22:04 -08:00
ipv4.c [DCCP]: Remove redundant statements in init_sequence (ISS) 2006-12-02 21:22:21 -08:00
ipv6.c [DCCP]: Remove redundant statements in init_sequence (ISS) 2006-12-02 21:22:21 -08:00
ipv6.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [DCCP]: Fix DCCP Probe Typo 2006-12-02 21:22:01 -08:00
Makefile [DCCP]: Introduce dccp_probe 2006-09-24 18:08:17 -03:00
minisocks.c [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
options.c [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
output.c [DCCP]: Increment sequence numbers on retransmitted Response packets 2006-12-02 21:22:17 -08:00
probe.c [NET]: Fix kfifo_alloc() error check. 2006-11-25 15:16:49 -08:00
proto.c [DCCP]: Add sysctls to control retransmission behaviour 2006-12-02 21:22:18 -08:00
sysctl.c [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
timer.c [DCCP]: Remove forward declarations in timer.c 2006-12-02 21:22:20 -08:00