lkml.org 
[lkml]   [2012]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: WARNING: at net/ipv4/tcp.c:1610 tcp_recvmsg+0xb1b/0xc70()
    From
    Date
    On Sat, 2012-05-26 at 12:22 +0100, Jack Stone wrote:

    > I'm still getting this with da89fb1 which includes the above
    >
    > Linux hover1 3.4.0-07797-gda89fb1 #4 SMP Fri May 25 22:23:14 BST 2012 x86_64 x86_64 x86_64 GNU/Linux

    Thanks

    Could you add following debugging patch ?

    diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
    index 3ba605f..b56c63c 100644
    --- a/net/ipv4/tcp.c
    +++ b/net/ipv4/tcp.c
    @@ -1606,8 +1606,9 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
    if (tcp_hdr(skb)->fin)
    goto found_fin_ok;
    WARN(!(flags & MSG_PEEK),
    - "recvmsg bug 2: copied %X seq %X rcvnxt %X fl %X\n",
    - *seq, TCP_SKB_CB(skb)->seq, tp->rcv_nxt, flags);
    + "recvmsg bug 2: copied %X seq %X end_seq %X rcvnxt %X fl %X offset %u len %u syn %d\n",
    + *seq, TCP_SKB_CB(skb)->seq, TCP_SKB_CB(skb)->end_seq,
    + tp->rcv_nxt, flags, offset, skb->len, tcp_hdr(skb)->syn);
    }

    /* Well, if we have backlog, try to process it now yet. */



    \
     
     \ /
      Last update: 2012-05-27 16:41    [W:0.021 / U:245.660 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site