From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Klette Jonassen Subject: [PATCH net-next 1/2] tcp: export tcp_enter_cwr() Date: Thu, 4 Jun 2015 23:01:42 +0200 Message-ID: <1433451703-7516-1-git-send-email-kennetkl@ifi.uio.no> Cc: Kenneth Klette Jonassen , Eric Dumazet , Yuchung Cheng , Stephen Hemminger , Neal Cardwell , David Hayes , Andreas Petlund , Dave Taht , Nicolas Kuhn To: netdev@vger.kernel.org Return-path: Received: from mail-out4.uio.no ([129.240.10.15]:41122 "EHLO mail-out4.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbbFDVCN (ORCPT ); Thu, 4 Jun 2015 17:02:13 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Upcoming tcp_cdg uses tcp_enter_cwr() to initiate PRR. Export this function so that CDG can be compiled as a module. Cc: Eric Dumazet Cc: Yuchung Cheng Cc: Stephen Hemminger Cc: Neal Cardwell Cc: David Hayes Cc: Andreas Petlund Cc: Dave Taht Cc: Nicolas Kuhn Signed-off-by: Kenneth Klette Jonassen --- net/ipv4/tcp_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 15c4536..d4f76ab 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -2552,6 +2552,7 @@ void tcp_enter_cwr(struct sock *sk) tcp_set_ca_state(sk, TCP_CA_CWR); } } +EXPORT_SYMBOL(tcp_enter_cwr); static void tcp_try_keep_open(struct sock *sk) { -- 2.1.0