From dd000598a39b6937fcefdf143720ec9fb5250e72 Mon Sep 17 00:00:00 2001 From: Haishuang Yan Date: Wed, 27 Sep 2017 11:35:41 +0800 Subject: ipv4: Remove the 'publish' logic in tcp_fastopen_init_key_once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'publish' logic is not necessary after commit dfea2aa65424 ("tcp: Do not call tcp_fastopen_reset_cipher from interrupt context"), because in tcp_fastopen_cookie_gen,it wouldn't call tcp_fastopen_init_key_once. Signed-off-by: Haishuang Yan Signed-off-by: David S. Miller --- net/ipv4/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/ipv4/tcp.c') diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index dac56c4ad357..4e395452d69f 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -2749,7 +2749,7 @@ static int do_tcp_setsockopt(struct sock *sk, int level, case TCP_FASTOPEN: if (val >= 0 && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { - tcp_fastopen_init_key_once(true); + tcp_fastopen_init_key_once(); fastopen_queue_tune(sk, val); } else { -- cgit tr>
summaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Expand)Author
2020-02-24net: UDP tunnel encapsulation module for tunnelling different protocols like ...Martin Varghese
2020-02-24af_unix: Add missing annotation for unix_wait_for_peer()Jules Irenge
2020-02-24dccp: Add missing annotation for dccp_child_process()Jules Irenge
2020-02-24net: netrom: Add missing annotation for nr_neigh_stop()Jules Irenge
2020-02-24net: netrom: Add missing annotation for nr_neigh_start()Jules Irenge
2020-02-24net: netrom: Add missing annotation for nr_node_stop()Jules Irenge
2020-02-24net: netrom: Add missing annotation for nr_node_start()Jules Irenge
2020-02-24netrom: Add missing annotation for nr_info_stop()Jules Irenge
2020-02-24netrom: Add missing annotation for nr_info_start()Jules Irenge
2020-02-24net: Add missing annotation for llc_seq_start()Jules Irenge
2020-02-24sctp: Add missing annotation for sctp_transport_walk_stop()Jules Irenge
2020-02-24sctp: Add missing annotation for sctp_transport_walk_start()Jules Irenge
2020-02-24sctp: Add missing annotation for sctp_err_finish()Jules Irenge
2020-02-24ip6mr: Fix RCU list debugging warningAmol Grover
2020-02-24tcp: ipv4: Pass lockdep expression to RCU listsAmol Grover
2020-02-24net: 802: psnap.c: Use built-in RCU list checkingMadhuparna Bhowmik
2020-02-24tcp, ulp: Pass lockdep expression to RCU listsAmol Grover
2020-02-24devlink: add ACL generic packet trapsJiri Pirko
2020-02-24net: Remove unneeded export of a couple of xdp generic functionsDavid Ahern
2020-02-23igmp: remove unused macro IGMP_Vx_UNSOLICITED_REPORT_INTERVALLi RongQing
2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller