[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#542633: openvz: [UBC]: Endless loop in __sk_stream_wait_memory.



Package: linux-2.6
Version: 2.6.26-18
Severity: important
Tags: patch

    
    The loop in __sk_stream_wait_memory when tcp_sendmsg asks to wait for
    TCPSNDBUF space is endless when the timeout is not specified. The only way
    out is to queue a signal for that process.
    
    Lets return a status flag from ub_sock_snd_queue_add that UB space is
    available. This is enough to make a correct decision to leave the cycle.




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: