lkml.org 
[lkml]   [2005]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[06/11] [TCP]: Put back tcp_timer_bug_msg[] symbol export.

    -stable review patch. If anyone has any objections, please let us know.

    ------------------



    This wrecks the ipv6 modular build for a lot of people.
    In fact, since I always build ipv6 modular I am surprised
    I never hit this. My best guess is that my compiler is
    optimizing the reference away, but that can never be
    depended upon and the symbol export really is needed.

    [TCP]: Put back tcp_timer_bug_msg[] symbol export.

    It is needed for tcp_reset_xmit_timer(), which is invoked by
    tcp_prequeue() which is invoked from tcp_ipv6.c

    Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Chris Wright <chrisw@osdl.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    diff -Nru a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c
    --- a/net/ipv4/tcp_timer.c 2005-03-09 17:20:38 -08:00
    +++ b/net/ipv4/tcp_timer.c 2005-03-09 17:20:38 -08:00
    @@ -38,6 +38,7 @@

    #ifdef TCP_DEBUG
    const char tcp_timer_bug_msg[] = KERN_DEBUG "tcpbug: unknown timer value\n";
    +EXPORT_SYMBOL(tcp_timer_bug_msg);
    #endif

    /*

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:11    [W:0.019 / U:30.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site