aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorJohn Heffner <jheffner@psc.edu>2006-03-21 00:32:58 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 00:32:58 -0500
commit0e7b13685f9a06949ea3070c97c0f0085a08cd37 (patch)
tree3ba0a11d61dc2dd64d7a93bb5cd70d58a46fec39 /net/ipv4/tcp_output.c
parent1d541ddd74802cfa0eb8a3864668851f6cd79bdf (diff)
[TCP] mtu probing: move tcp-specific data out of inet_connection_sock
This moves some TCP-specific MTU probing state out of inet_connection_sock back to tcp_sock. Signed-off-by: John Heffner <jheffner@psc.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 8197b5e12f1f..518e568b53f3 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1238,8 +1238,8 @@ static int tcp_mtu_probe(struct sock *sk)
1238 update_send_head(sk, tp, nskb); 1238 update_send_head(sk, tp, nskb);
1239 1239
1240 icsk->icsk_mtup.probe_size = tcp_mss_to_mtu(sk, nskb->len); 1240 icsk->icsk_mtup.probe_size = tcp_mss_to_mtu(sk, nskb->len);
1241 icsk->icsk_mtup.probe_seq_start = TCP_SKB_CB(nskb)->seq; 1241 tp->mtu_probe.probe_seq_start = TCP_SKB_CB(nskb)->seq;
1242 icsk->icsk_mtup.probe_seq_end = TCP_SKB_CB(nskb)->end_seq; 1242 tp->mtu_probe.probe_seq_end = TCP_SKB_CB(nskb)->end_seq;
1243 1243
1244 return 1; 1244 return 1;
1245 } 1245 }