From: Kenneth Klette Jonassen Date: Wed, 10 Jun 2015 17:08:16 +0000 (+0200) Subject: tcp: export tcp_enter_cwr() X-Git-Tag: v4.2~362^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7782ad8bb55c18f634a6713ec38c8f1ae86ad0b5;p=platform%2Fkernel%2Flinux-amlogic.git tcp: export tcp_enter_cwr() 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 Acked-by: Yuchung Cheng Signed-off-by: David S. Miller --- 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) {