diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-16 23:48:12 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-11 13:38:19 -0400 |
commit | 076fb7223357769c39f3ddf900bba6752369c76a (patch) | |
tree | db75c2af3bf71cda4d0cccd6ebcfa8d1a62c3620 /net/ipv4/tcp_output.c | |
parent | 7d5d5525bd88313e6fd90c0659665aee5114bc2d (diff) |
tcp md5sig: Remove redundant protocol argument.
Protocol is always TCP, so remove useless protocol argument.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index ad993ecb4810..f3ffd674edde 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -607,7 +607,6 @@ static int tcp_transmit_skb(struct sock *sk, struct sk_buff *skb, int clone_it, | |||
607 | md5, | 607 | md5, |
608 | sk, NULL, NULL, | 608 | sk, NULL, NULL, |
609 | tcp_hdr(skb), | 609 | tcp_hdr(skb), |
610 | sk->sk_protocol, | ||
611 | skb->len); | 610 | skb->len); |
612 | } | 611 | } |
613 | #endif | 612 | #endif |
@@ -2266,7 +2265,7 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, | |||
2266 | tp->af_specific->calc_md5_hash(md5_hash_location, | 2265 | tp->af_specific->calc_md5_hash(md5_hash_location, |
2267 | md5, | 2266 | md5, |
2268 | NULL, dst, req, | 2267 | NULL, dst, req, |
2269 | tcp_hdr(skb), sk->sk_protocol, | 2268 | tcp_hdr(skb), |
2270 | skb->len); | 2269 | skb->len); |
2271 | } | 2270 | } |
2272 | #endif | 2271 | #endif |