From: planck kernel size experiment Subject: net: let TCP child sockets build without BPF NET normally forces CONFIG_BPF, so this assignment historically did not need a guard. The fixed-function logger keeps TCP but has no BPF attachment API; the corresponding tcp_sock bitfield is absent. Guard the initialization just like the field declaration. There is no runtime effect when BPF is disabled. --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -658,7 +658,9 @@ struct sock *tcp_create_openreq_child(const struct sock *sk, newtp->fastopen_req = NULL; RCU_INIT_POINTER(newtp->fastopen_rsk, NULL); +#ifdef CONFIG_BPF newtp->bpf_chg_cc_inprogress = 0; +#endif tcp_bpf_clone(sk, newsk); __TCP_INC_STATS(sock_net(sk), TCP_MIB_PASSIVEOPENS);