We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be0d95 commit d25f327Copy full SHA for d25f327
net/ipv4/tcp_input.c
@@ -6623,7 +6623,6 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb)
6623
const struct tcphdr *th = tcp_hdr(skb);
6624
struct request_sock *req;
6625
int queued = 0;
6626
- bool acceptable;
6627
SKB_DR(reason);
6628
6629
switch (sk->sk_state) {
@@ -6649,12 +6648,10 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb)
6649
6648
*/
6650
rcu_read_lock();
6651
local_bh_disable();
6652
- acceptable = icsk->icsk_af_ops->conn_request(sk, skb) >= 0;
+ icsk->icsk_af_ops->conn_request(sk, skb);
6653
local_bh_enable();
6654
rcu_read_unlock();
6655
6656
- if (!acceptable)
6657
- return 1;
6658
consume_skb(skb);
6659
return 0;
6660
}
0 commit comments