diff options
author | Christoph Paasch <christoph.paasch@uclouvain.be> | 2013-03-10 00:18:39 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-10 17:09:33 -0400 |
commit | e61667af2f77d481411f2ccd307fed2247d785a8 (patch) | |
tree | 936934f46b1fe50fdc6a41754331351788d1f9dc /include/linux/tcp.h | |
parent | 624e2d21356a40ad7200cb30c4f966741d805a79 (diff) |
tcp: Remove unused tw_cookie_values from tcp_timewait_sock
tw_cookie_values is never used in the TCP-stack.
It was added by 435cf559f (TCPCT part 1d: define TCP cookie option,
extend existing struct's), but already at that time it was not used at
all, nor mentioned in the commit-message.
Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index f28408c07dc2..515c3746b675 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -361,10 +361,6 @@ struct tcp_timewait_sock { | |||
361 | #ifdef CONFIG_TCP_MD5SIG | 361 | #ifdef CONFIG_TCP_MD5SIG |
362 | struct tcp_md5sig_key *tw_md5_key; | 362 | struct tcp_md5sig_key *tw_md5_key; |
363 | #endif | 363 | #endif |
364 | /* Few sockets in timewait have cookies; in that case, then this | ||
365 | * object holds a reference to them (tw_cookie_values->kref). | ||
366 | */ | ||
367 | struct tcp_cookie_values *tw_cookie_values; | ||
368 | }; | 364 | }; |
369 | 365 | ||
370 | static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk) | 366 | static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk) |