WARN_ON(req->sk !=NULL);if(seq != tcp_rsk(req)->snt_isn) { NET_INC_STATS_BH(net, LINUX_MIB_OUTOFWINDOWICMPS);gotoout; } inet_csk_reqsk_queue_drop(sk, req, prev);gotoout;caseTCP_SYN_SENT:caseTCP_SYN_RECV:if(!sock_owned_by_user(sk)) { sk->sk_err = err; sk->sk_er...
sock_rps_save_rxhash(child, skb); inet_csk_reqsk_queue_add(sk, req, child); if (!inet_csk_reqsk_queue_add(sk, req, child)) { bh_unlock_sock(child); sock_put(child); child = NULL; reqsk_put(req); } } else { reqsk_free(req); ...
inet_csk_find_open_port(struct sock *sk, struct inet_bind_bucket **tb_ret, int *port_ret) { struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; int port = 0; struct inet_bind_hashbucket *head; struct net *net = sock_net(sk); ...
}if(type == ICMPV6_PKT_TOOBIG) {structdst_entry*dst=NULL;if(!ip6_sk_accept_pmtu(sk))gotoout;if(sock_owned_by_user(sk))gotoout;if((1<< sk->sk_state) & (DCCPF_LISTEN | DCCPF_CLOSED))gotoout; dst = inet6_csk_update_pmtu(sk, ntohl(info));if(!dst)gotoout;if(inet_csk(sk...
fastopenq.max_qlen) { fastopen_queue_tune(sk, backlog); tcp_fastopen_init_key_once(true); } err = inet_csk_listen_start(sk, backlog); if (err) goto out; } sk->sk_max_ack_backlog = backlog; err = 0; out: release_sock(sk); return err; } EXPORT_SYMBOL(inet_listen); /...
inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { fastopen_queue_tune(sk, backlog); tcp_fastopen_init_key_once(sock_net(sk)); } err = inet_csk_listen_start(sk); if (err) return err; tcp_call_bpf(sk, BPF_SOCK_OPS_TCP_LISTEN_CB, 0, NULL); } return 0; } /* * ...
clone from https://github.com/chewitt/linux branch amlogic-5.15.y, And will add some patches that I have collected, which can be used for the aarch64 openwrt firmware, or for general occasions such as armbian. - linux-5.15.y/net/ipv4/inet_timewait_sock.
Available add-ons Advanced Security Enterprise-grade security features GitHub Copilot Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every pie...
*/sk_refcnt_debug_dec(sk);if(sk->sk_protocol == IPPROTO_TCP) {structinet_connection_sock*icsk=inet_csk(sk);local_bh_disable(); sock_prot_inuse_add(net, sk->sk_prot,-1); sock_prot_inuse_add(net, &tcp_prot,1); local_bh_enable(); ...
inet_csk(sk)->icsk_accept_queue.fastopenq.max_qlen) { fastopen_queue_tune(sk, backlog); tcp_fastopen_init_key_once(sock_net(sk)); } err = inet_csk_listen_start(sk, backlog); if (err) goto out; tcp_call_bpf(sk, BPF_SOCK_OPS_TCP_LISTEN_CB, 0, NULL); } err = 0; out...