A query regarding an entry in Andrew Morton's "must fix" list

From: Adhiraj Joshi (adhiraj.m_at_gmail.com)
Date: 09/08/05

  • Next message: Jan Beulich: "[PATCH] matroxfb adjustments"
    Date:	Thu, 8 Sep 2005 20:30:09 +0530
    To: linux-kernel@vger.kernel.org
    
    

    Hi,
      
      There was a bug some time back in a Must-Fix list regarding UDP
    applications going in dead lock.
      (http://kernel.org/pub/linux/kernel/people/akpm/must-fix/must-fix-2.txt )
      Here is an extract:
    --------------------------------------------------------------------------------------------------------------
    - UDP apps can in theory deadlock, because the ip_append_data path can end
      up sleeping while the socket lock is held.

      It is OK to sleep with the socket held held, normally. But in this case

      the sleep happens while waiting for socket memory/space to become

      available, if another context needs to take the socket lock to free up the
      space we could hang.
    ----------------------------------------------------------------------------------------------------------------
    Is the fix present in the kernel now? I faced a problem similar to this one.
     
     Thanks in advance,
     Adhiraj.
    -
    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/


  • Next message: Jan Beulich: "[PATCH] matroxfb adjustments"

    Relevant Pages

    • Re[2]: problem in tcp_v4_synq_add ?
      ... >> Nope, the listening socket's socket lock is held, and all things that ... >> add members to these hash chains hold that lock. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [SCTP][patch] socket does not wake up
      ... Thanks for the patch.. ... re for approval after a minor fix. ... assumes you do NOT hold a lock. ... the socket lock.. ...
      (freebsd-current)
    • Re: [SCTP][patch] socket does not wake up
      ... Thanks for the patch.. ... re for approval after a minor fix. ... assumes you do NOT hold a lock. ... the socket lock.. ...
      (freebsd-current)