Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2240369ybg; Thu, 30 Jul 2020 14:19:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZwz237ldWiuEdk20lCd4MfRMuluYNStvl59D+5wRmolAE8wS5vzXPaMSrypxKv6nNlmLM X-Received: by 2002:a50:8fc4:: with SMTP id y62mr929258edy.170.1596143952228; Thu, 30 Jul 2020 14:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596143952; cv=none; d=google.com; s=arc-20160816; b=RUJsqpsOna8t80Tnzh2n/gNQDQ8K/3QOQHQeEG257YFhY7SYsumMdhMlSBRwpPS735 Db0JS9KRaO5SJJNf9n3q1zfHenVewsinNPD5/OMN3DiE1OhIDDSuf+0FVpQOqvFXkzUa RhYSv7sp7jcqmJa/Rc3XlZnZc6a9kRQ5j3mF+B8H4ANMwFJAivigI7hm3UYgf0XYCnlR qlEBZtX0+ZlPK1OJWmSE6KpiYYCOdykw7WI0Vs2sFYXj3w/hqeXQAthZny5tY5Bw6qtM 6chI6qnRNWdf8qlJcvNEiGxMzGFajnlNHGmOCVCUDZA4K2J769/t5IbSc0FqkoARZaZx QglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1Jk6W9UOIzPrRcj3YnPe6EdgKZLyd9ssfbR+74SoEEs=; b=Bk0KpWegeDN2IeivsAUW3cKmNSIum2/z9RusXLlxqKoWuqphlEggck3lez9poQEeFU n8sgMrVQimIhF959+vMNizjj9K+OKW0/iXex4K+vseTi9l5zLMAtyPlIVbc7Y18y6LoS IDL/VAV7Wg44drXT/Fdixnc1cGmTt7EnRAhRkm7ch0VoFIdeBOhdWWCOvCXwlAacOAK5 bKxg9nPlCCq/XGtN2nCu8NSzLHrrHOS9USfEEn+O1xeQzEjSV9ut1wWso05jOIcE7tH8 ZlWbLmWjjqpCUwcp3R+KrTZnrM61WR+4KtZP7kGYMDUqtKkePBvafxrxEYg5nN3SWfVT O3ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=StlI6RkZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si3727650ejd.544.2020.07.30.14.18.48; Thu, 30 Jul 2020 14:19:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=StlI6RkZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730603AbgG3VQd (ORCPT + 99 others); Thu, 30 Jul 2020 17:16:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730583AbgG3VQd (ORCPT ); Thu, 30 Jul 2020 17:16:33 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C403C061575 for ; Thu, 30 Jul 2020 14:16:33 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id l17so29713948iok.7 for ; Thu, 30 Jul 2020 14:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1Jk6W9UOIzPrRcj3YnPe6EdgKZLyd9ssfbR+74SoEEs=; b=StlI6RkZvkjYp4Ua10Z/QO8u57IBSYfob3BMUfFZbqcZbKOIMZj6H8S2c1VA+5ZM39 bibros8tONh3GpshN64Qxt9X9nGHnBllmuUH9j5D/SHtwqjdor6ijsvqonBErhnZBHXL gwnD3nNIqvsvVNu1GERRO8WciamGU1d8SShtr7O3TcLavcB/f5PR4SUG9cKWBXTdGRXa 3h+BgDkp5R5jiBgmKadRMW3piVNoTppaSZJjZ8CYOgwcC6aSF0t0UbBWdsuAAbOOgXjf r0EoiawB0QDcsbfJpWjXtAD/zK2FS8Sv2egoZZ+B7Ja7wsTFt5AKhNF8ac8Owh71Nbbn XSxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1Jk6W9UOIzPrRcj3YnPe6EdgKZLyd9ssfbR+74SoEEs=; b=TD2zYk1aB696wv76n3PV27kVN5X2soE42hpWWC7GV8JLyHEg/jFoyz8PYs43ocz2YS OavpV9GDPXIYwm8rn9ruUnhH5oqJHEHu7y6UwJdKznuifF0J83VECcuH5p5m+GoNEFDA MwxPgm8NXCptAwm+l+8lFoC2eNAXZHh7VsODNfpc3n4IHGjXBOeLPJL43ACv5+BuCBYn xY8ek8bmxOg6sAcivfIhNjGD29tkxFsQmKvTEOMtlFeTwfQ/GyJ/FOAxnks2YqlyeIjC XJRZOeP72EHBjEuMF/X5G04S1UW7XIASIGGpdq2vCjDLYBMli+4UBnm/eTbjhbftjRRb qnoA== X-Gm-Message-State: AOAM532yDcJX9sb2Qtd8IX3/Hj95HSw3ckHU8lhCF0jbzRuX+PXLoEQM vMA2LjO1kH8T+P9rHx53diKvybMrJlAd++Il8AXo9A== X-Received: by 2002:a05:6638:2493:: with SMTP id x19mr1356986jat.53.1596143792287; Thu, 30 Jul 2020 14:16:32 -0700 (PDT) MIME-Version: 1.0 References: <20200730210728.2051-1-f.fainelli@gmail.com> In-Reply-To: <20200730210728.2051-1-f.fainelli@gmail.com> From: Eric Dumazet Date: Thu, 30 Jul 2020 14:16:21 -0700 Message-ID: Subject: Re: [PATCH net] tcp: Export tcp_write_queue_purge() To: Florian Fainelli Cc: netdev , "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , Jakub Kicinski , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2020 at 2:07 PM Florian Fainelli wrote: > > After tcp_write_queue_purge() got uninlined with commit ac3f09ba3e49 > ("tcp: uninline tcp_write_queue_purge()"), it became no longer possible > to reference this symbol from kernel modules. > > Fixes: ac3f09ba3e49 ("tcp: uninline tcp_write_queue_purge()") > Signed-off-by: Florian Fainelli > --- > net/ipv4/tcp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c > index 6f0caf9a866d..ea9d296a8380 100644 > --- a/net/ipv4/tcp.c > +++ b/net/ipv4/tcp.c > @@ -2626,6 +2626,7 @@ void tcp_write_queue_purge(struct sock *sk) > tcp_sk(sk)->packets_out = 0; > inet_csk(sk)->icsk_backoff = 0; > } > +EXPORT_SYMBOL(tcp_write_queue_purge); > > int tcp_disconnect(struct sock *sk, int flags) > { > -- > 2.17.1 > Hmmm.... which module would need this exactly ? How come it took 3 years to discover this issue ?