• David S. Miller's avatar
    [IPV4]: Fix multicast socket hangs. · 5d42dde4
    David S. Miller authored
    If a multicast packet gets looped back, the sending
    socket can hang if a local read just sits and does
    not empty its receive queue.
    
    The problem is that when an SKB clone is freed up,
    the destructor is only invoked for the head SKB when
    there is a fraglist (which is created for fragmentation).
    
    The solution is to account the fragment list SKB lengths
    in the top-level head SKB, then it all works out.
    Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
    5d42dde4
ip_output.c 32.1 KB