diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-16 21:25:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 21:25:48 -0400 |
commit | caea902f72b053fd0c76d0d3b6b2e057beb3fc64 (patch) | |
tree | 74e8d476b2c51480420e2ef7c9bbae249b6edbc9 /net/ipv4 | |
parent | 0b4419162aa6c4204843f3a13b48d9ab821d3167 (diff) | |
parent | 65c3e4715b1b934f8dcc002d9f46b4371ca7a9b1 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/rt2x00/Kconfig
drivers/net/wireless/rt2x00/rt2x00usb.c
net/sctp/protocol.c
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 6 | ||||
-rw-r--r-- | net/ipv4/raw.c | 2 | ||||
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 4c804b3c287b..5bbf00051512 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -468,9 +468,9 @@ void inet_csk_reqsk_queue_prune(struct sock *parent, | |||
468 | reqp=&lopt->syn_table[i]; | 468 | reqp=&lopt->syn_table[i]; |
469 | while ((req = *reqp) != NULL) { | 469 | while ((req = *reqp) != NULL) { |
470 | if (time_after_eq(now, req->expires)) { | 470 | if (time_after_eq(now, req->expires)) { |
471 | if ((req->retrans < (inet_rsk(req)->acked ? max_retries : thresh)) && | 471 | if ((req->retrans < thresh || |
472 | (inet_rsk(req)->acked || | 472 | (inet_rsk(req)->acked && req->retrans < max_retries)) |
473 | !req->rsk_ops->rtx_syn_ack(parent, req))) { | 473 | && !req->rsk_ops->rtx_syn_ack(parent, req)) { |
474 | unsigned long timeo; | 474 | unsigned long timeo; |
475 | 475 | ||
476 | if (req->retrans++ == 0) | 476 | if (req->retrans++ == 0) |
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 36035a0c6dc2..7d449468409e 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -931,7 +931,7 @@ static void raw_sock_seq_show(struct seq_file *seq, struct sock *sp, int i) | |||
931 | srcp = inet->num; | 931 | srcp = inet->num; |
932 | 932 | ||
933 | seq_printf(seq, "%4d: %08X:%04X %08X:%04X" | 933 | seq_printf(seq, "%4d: %08X:%04X %08X:%04X" |
934 | " %02X %08X:%08X %02X:%08lX %08X %5d %8d %lu %d %p %d", | 934 | " %02X %08X:%08X %02X:%08lX %08X %5d %8d %lu %d %p %d\n", |
935 | i, src, srcp, dest, destp, sp->sk_state, | 935 | i, src, srcp, dest, destp, sp->sk_state, |
936 | atomic_read(&sp->sk_wmem_alloc), | 936 | atomic_read(&sp->sk_wmem_alloc), |
937 | atomic_read(&sp->sk_rmem_alloc), | 937 | atomic_read(&sp->sk_rmem_alloc), |
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 64b385f65930..0db9b75c1fa2 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -83,10 +83,6 @@ | |||
83 | int sysctl_tcp_tw_reuse __read_mostly; | 83 | int sysctl_tcp_tw_reuse __read_mostly; |
84 | int sysctl_tcp_low_latency __read_mostly; | 84 | int sysctl_tcp_low_latency __read_mostly; |
85 | 85 | ||
86 | /* Check TCP sequence numbers in ICMP packets. */ | ||
87 | #define ICMP_MIN_LENGTH 8 | ||
88 | |||
89 | void tcp_v4_send_check(struct sock *sk, int len, struct sk_buff *skb); | ||
90 | 86 | ||
91 | #ifdef CONFIG_TCP_MD5SIG | 87 | #ifdef CONFIG_TCP_MD5SIG |
92 | static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk, | 88 | static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk, |