bpf: tcp: Stop bpf_setsockopt(TCP_CONGESTION) in init ops to recur itself
[platform/kernel/linux-starfive.git] / net / ipv4 / tcp_minisocks.c
index cb95d88..ddcdc2b 100644 (file)
@@ -541,6 +541,7 @@ struct sock *tcp_create_openreq_child(const struct sock *sk,
        newtp->fastopen_req = NULL;
        RCU_INIT_POINTER(newtp->fastopen_rsk, NULL);
 
+       newtp->bpf_chg_cc_inprogress = 0;
        tcp_bpf_clone(sk, newsk);
 
        __TCP_INC_STATS(sock_net(sk), TCP_MIB_PASSIVEOPENS);