1. 10 Jul, 2004 1 commit
    • Herbert Xu's avatar
      [IPSEC]: Move generic encap code into xfrm4_output · 01124b4f
      Herbert Xu authored
      I've finally finished merging the general encapsulation code for IPv4.
      Here is the patch.
      
      The idea is basically to make x->type->output similar in structure to
      x->type->input.  That means moving the tunnel encapsulation and other
      generic code out.
      
      They have ended up in xfrm4_output.c.
      
      The advantage of this is that we have exactly one copy of the tunnel
      encapsulation code.  So if we need to change it (e.g., set the TTL
      according to the route) then it's easier and less error-prone.
      
      In fact, in doing so I've already noticed that the ECN wasn't being
      copied correctly in everything except xfrm4_tunnel.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
      01124b4f
  2. 09 Jul, 2004 1 commit
  3. 10 Jul, 2004 2 commits
  4. 09 Jul, 2004 7 commits
  5. 08 Jul, 2004 1 commit
    • 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
  6. 07 Jul, 2004 7 commits
  7. 06 Jul, 2004 21 commits