diff options
author | Eric Dumazet <edumazet@google.com> | 2017-06-07 10:34:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 10:53:28 -0400 |
commit | eed29f17f09ad7f400bc245f209acad6a8214fac (patch) | |
tree | 98ec65923f889616029ece56a785e6038a1e1cf5 /include/net/tcp.h | |
parent | a5fcf8a6c968ed8e312ff0b2a55d4c62d821eabb (diff) | |
download | linux-eed29f17f09ad7f400bc245f209acad6a8214fac.tar.bz2 |
tcp: add a struct net parameter to tcp_parse_options()
We want to move some TCP sysctls to net namespaces in the future.
tcp_window_scaling, tcp_sack and tcp_timestamps being fetched
from tcp_parse_options(), we need to pass an extra parameter.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 28b577a35786..0b0cfeefa05b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -427,7 +427,7 @@ void tcp_set_keepalive(struct sock *sk, int val); void tcp_syn_ack_timeout(const struct request_sock *req); int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock, int flags, int *addr_len); -void tcp_parse_options(const struct sk_buff *skb, +void tcp_parse_options(const struct net *net, const struct sk_buff *skb, struct tcp_options_received *opt_rx, int estab, struct tcp_fastopen_cookie *foc); const u8 *tcp_parse_md5sig_option(const struct tcphdr *th); |