mptcp: drop unused sk in mptcp_get_options
The parameter 'sk' became useless since the code using it was dropped
from mptcp_get_options() in the commit 8d548ea1dd ("mptcp: do not set
unconditionally csum_reqd on incoming opt"). Let's drop it.
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
f8e9ce4a6e
commit
0799e21b5a
@@ -355,8 +355,7 @@ static void mptcp_parse_option(const struct sk_buff *skb,
|
||||
}
|
||||
}
|
||||
|
||||
void mptcp_get_options(const struct sock *sk,
|
||||
const struct sk_buff *skb,
|
||||
void mptcp_get_options(const struct sk_buff *skb,
|
||||
struct mptcp_options_received *mp_opt)
|
||||
{
|
||||
const struct tcphdr *th = tcp_hdr(skb);
|
||||
@@ -1114,7 +1113,7 @@ bool mptcp_incoming_options(struct sock *sk, struct sk_buff *skb)
|
||||
return true;
|
||||
}
|
||||
|
||||
mptcp_get_options(sk, skb, &mp_opt);
|
||||
mptcp_get_options(skb, &mp_opt);
|
||||
|
||||
/* The subflow can be in close state only if check_fully_established()
|
||||
* just sent a reset. If so, tell the caller to ignore the current packet.
|
||||
|
||||
Reference in New Issue
Block a user