aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-02 01:13:38 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 01:13:38 -0500
commitff9c38bba37937adb909cceb2a6521f2e92e17c6 (patch)
tree93bd6152d9fa28348be99ef1c788040cc7b7a94d /net/ipv4
parent65c0cfafce9575319fb6f70080fbe226e5617e3b (diff)
parentb2722b1c3a893ec6021508da15b32282ec79f4da (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: net/mac80211/ht.c
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/ip_fragment.c2
-rw-r--r--net/ipv4/ip_output.c2
-rw-r--r--net/ipv4/tcp.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c
index 1472d8e3c191..c4735310a923 100644
--- a/net/ipv4/ip_fragment.c
+++ b/net/ipv4/ip_fragment.c
@@ -564,7 +564,7 @@ out_oversize:
564 printk(KERN_INFO "Oversized IP packet from %pI4.\n", 564 printk(KERN_INFO "Oversized IP packet from %pI4.\n",
565 &qp->saddr); 565 &qp->saddr);
566out_fail: 566out_fail:
567 IP_INC_STATS_BH(dev_net(dev), IPSTATS_MIB_REASMFAILS); 567 IP_INC_STATS_BH(net, IPSTATS_MIB_REASMFAILS);
568 return err; 568 return err;
569} 569}
570 570
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index b78e61502efe..e34013a78ef4 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -503,8 +503,8 @@ int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
503 if (skb->sk) { 503 if (skb->sk) {
504 frag->sk = skb->sk; 504 frag->sk = skb->sk;
505 frag->destructor = sock_wfree; 505 frag->destructor = sock_wfree;
506 truesizes += frag->truesize;
507 } 506 }
507 truesizes += frag->truesize;
508 } 508 }
509 509
510 /* Everything is OK. Generate! */ 510 /* Everything is OK. Generate! */
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 524f9760193b..7d4648f8b3d3 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2059,6 +2059,7 @@ int tcp_disconnect(struct sock *sk, int flags)
2059 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH; 2059 tp->snd_ssthresh = TCP_INFINITE_SSTHRESH;
2060 tp->snd_cwnd_cnt = 0; 2060 tp->snd_cwnd_cnt = 0;
2061 tp->bytes_acked = 0; 2061 tp->bytes_acked = 0;
2062 tp->window_clamp = 0;
2062 tcp_set_ca_state(sk, TCP_CA_Open); 2063 tcp_set_ca_state(sk, TCP_CA_Open);
2063 tcp_clear_retrans(tp); 2064 tcp_clear_retrans(tp);
2064 inet_csk_delack_init(sk); 2065 inet_csk_delack_init(sk);