summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Heffner <jheffner@psc.edu>2006-03-20 21:32:58 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 21:32:58 -0800
commit0e7b13685f9a06949ea3070c97c0f0085a08cd37 (patch)
tree3ba0a11d61dc2dd64d7a93bb5cd70d58a46fec39 /include
parent1d541ddd74802cfa0eb8a3864668851f6cd79bdf (diff)
downloadlinux-3.10-0e7b13685f9a06949ea3070c97c0f0085a08cd37.tar.gz
linux-3.10-0e7b13685f9a06949ea3070c97c0f0085a08cd37.tar.bz2
linux-3.10-0e7b13685f9a06949ea3070c97c0f0085a08cd37.zip
[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 'include')
-rw-r--r--include/linux/tcp.h6
-rw-r--r--include/net/inet_connection_sock.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index f2bb2396853..542d39596bd 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -343,6 +343,12 @@ struct tcp_sock {
__u32 seq;
__u32 time;
} rcvq_space;
+
+/* TCP-specific MTU probe information. */
+ struct {
+ __u32 probe_seq_start;
+ __u32 probe_seq_end;
+ } mtu_probe;
};
static inline struct tcp_sock *tcp_sk(const struct sock *sk)
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index b3abe33f4e5..4e5a9ff99fc 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -114,8 +114,6 @@ struct inet_connection_sock {
/* Information on the current probe. */
int probe_size;
- __u32 probe_seq_start;
- __u32 probe_seq_end;
} icsk_mtup;
u32 icsk_ca_priv[16];
#define ICSK_CA_PRIV_SIZE (16 * sizeof(u32))