android_kernel_xiaomi_sm7250/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
ackvec.c
ackvec.h
ccid.c
ccid.h
dccp.h [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
diag.c
feat.c
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
Kconfig
Makefile
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
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