From: Eric Dumazet <edumazet@xxxxxxxxxx> commit c51db4ac10d57c366f9a92121e3889bfc6c324cd upstream. After commit 1eeb50435739 ("tcp/dccp: do not care about families in inet_twsk_purge()") tcp_twsk_purge() is no longer potentially called from a module. Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> Cc: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/ipv4/tcp_minisocks.c | 1 - 1 file changed, 1 deletion(-) --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c @@ -362,7 +362,6 @@ void tcp_twsk_purge(struct list_head *ne } } } -EXPORT_SYMBOL_GPL(tcp_twsk_purge); /* Warning : This function is called without sk_listener being locked. * Be sure to read socket fields once, as their value could change under us. Patches currently in stable-queue which might be from edumazet@xxxxxxxxxx are queue-6.1/fou-remove-warn-in-gue_gro_receive-on-unsupported-pr.patch queue-6.1/netlink-hold-nlk-cb_mutex-longer-in-__netlink_dump_s.patch queue-6.1/net-dsa-tag_ocelot-call-only-the-relevant-portion-of.patch queue-6.1/tcp-dccp-bypass-empty-buckets-in-inet_twsk_purge.patch queue-6.1/net-dsa-tag_ocelot-do-not-rely-on-skb_mac_header-for.patch queue-6.1/tcp-dccp-do-not-care-about-families-in-inet_twsk_pur.patch queue-6.1/bluetooth-rfcomm-fix-not-validating-setsockopt-user-.patch queue-6.1/kcm-serialise-kcm_sendmsg-for-the-same-socket.patch queue-6.1/tcp-do-not-export-tcp_twsk_purge.patch queue-6.1/ipv6-prevent-uaf-in-ip6_send_skb.patch queue-6.1/bonding-fix-null-pointer-deref-in-bond_ipsec_offload.patch queue-6.1/ipv6-fix-possible-uaf-in-ip6_finish_output2.patch queue-6.1/tcp-prevent-concurrent-execution-of-tcp_sk_exit_batc.patch queue-6.1/ipv6-prevent-possible-uaf-in-ip6_xmit.patch queue-6.1/gtp-pull-network-headers-in-gtp_dev_xmit.patch queue-6.1/net-don-t-dump-stack-on-queue-timeout.patch