|
@@ -5472,7 +5472,7 @@ static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack,
|
|
}
|
|
}
|
|
|
|
|
|
static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb,
|
|
static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb,
|
|
- const struct tcphdr *th, unsigned int len)
|
|
|
|
|
|
+ const struct tcphdr *th)
|
|
{
|
|
{
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
@@ -5699,7 +5699,7 @@ reset_and_undo:
|
|
*/
|
|
*/
|
|
|
|
|
|
int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
|
|
int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
|
|
- const struct tcphdr *th, unsigned int len)
|
|
|
|
|
|
+ const struct tcphdr *th)
|
|
{
|
|
{
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
struct inet_connection_sock *icsk = inet_csk(sk);
|
|
@@ -5749,7 +5749,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
|
|
goto discard;
|
|
goto discard;
|
|
|
|
|
|
case TCP_SYN_SENT:
|
|
case TCP_SYN_SENT:
|
|
- queued = tcp_rcv_synsent_state_process(sk, skb, th, len);
|
|
|
|
|
|
+ queued = tcp_rcv_synsent_state_process(sk, skb, th);
|
|
if (queued >= 0)
|
|
if (queued >= 0)
|
|
return queued;
|
|
return queued;
|
|
|
|
|