From: Gerrit Renker <[EMAIL PROTECTED]>
Date: Fri, 10 Nov 2006 12:04:31 +0000
> 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.
>
> Patch has been tested.
>
>
> Signed-off-by: Gerrit Renker <[EMAIL PROTECTED]>
Looks good, patch applied, thanks Gerrit.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html