tcp: export tcp_enter_cwr()
authorKenneth Klette Jonassen <kennetkl@ifi.uio.no>
Wed, 10 Jun 2015 17:08:16 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 07:09:12 +0000 (00:09 -0700)
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 <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: David Hayes <davihay@ifi.uio.no>
Cc: Andreas Petlund <apetlund@simula.no>
Cc: Dave Taht <dave.taht@bufferbloat.net>
Cc: Nicolas Kuhn <nicolas.kuhn@telecom-bretagne.eu>
Signed-off-by: Kenneth Klette Jonassen <kennetkl@ifi.uio.no>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c

index 15c4536188a4c3b9b67bb8db26c83f12da9115b0..d4f76ab6e1368a24379a545b1277f8e697f1fc24 100644 (file)
@@ -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)
 {