diff options
| author | Geliang Tang <[email protected]> | 2021-06-17 23:46:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-18 18:40:11 +0000 |
| commit | c863225b79426459feca2ef5b0cc2f07e8e68771 (patch) | |
| tree | 586cb78f8eacb3731bfbeff944bc11530f710109 /net/mptcp/options.c | |
| parent | mptcp: send out checksum for DSS (diff) | |
| download | kernel-c863225b79426459feca2ef5b0cc2f07e8e68771.tar.gz kernel-c863225b79426459feca2ef5b0cc2f07e8e68771.zip | |
mptcp: add sk parameter for mptcp_get_options
This patch added a new parameter name sk in mptcp_get_options().
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/mptcp/options.c')
| -rw-r--r-- | net/mptcp/options.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mptcp/options.c b/net/mptcp/options.c index 1468774f1f87..ae69059583a7 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -323,7 +323,8 @@ static void mptcp_parse_option(const struct sk_buff *skb, } } -void mptcp_get_options(const struct sk_buff *skb, +void mptcp_get_options(const struct sock *sk, + const struct sk_buff *skb, struct mptcp_options_received *mp_opt) { const struct tcphdr *th = tcp_hdr(skb); @@ -1024,7 +1025,7 @@ void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb) return; } - mptcp_get_options(skb, &mp_opt); + mptcp_get_options(sk, skb, &mp_opt); if (!check_fully_established(msk, sk, subflow, skb, &mp_opt)) return; |
