1. 30 8月, 2005 4 次提交
  2. 24 8月, 2005 13 次提交
  3. 21 8月, 2005 3 次提交
  4. 19 8月, 2005 3 次提交
  5. 18 8月, 2005 4 次提交
  6. 17 8月, 2005 3 次提交
    • P
      [IPV6]: Fix SKB leak in ip6_input_finish() · fad87aca
      Patrick McHardy 提交于
      Changing it to how ip_input handles should fix it.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fad87aca
    • H
      [TCP]: Fix bug #5070: kernel BUG at net/ipv4/tcp_output.c:864 · c8ac3774
      Herbert Xu 提交于
      1) We send out a normal sized packet with TSO on to start off.
      2) ICMP is received indicating a smaller MTU.
      3) We send the current sk_send_head which needs to be fragmented
      since it was created before the ICMP event.  The first fragment
      is then sent out.
      
      At this point the remaining fragment is allocated by tcp_fragment.
      However, its size is padded to fit the L1 cache-line size therefore
      creating tail-room up to 124 bytes long.
      
      This fragment will also be sitting at sk_send_head.
      
      4) tcp_sendmsg is called again and it stores data in the tail-room of
      of the fragment.
      5) tcp_push_one is called by tcp_sendmsg which then calls tso_fragment
      since the packet as a whole exceeds the MTU.
      
      At this point we have a packet that has data in the head area being
      fed to tso_fragment which bombs out.
      
      My take on this is that we shouldn't ever call tcp_fragment on a TSO
      socket for a packet that is yet to be transmitted since this creates
      a packet on sk_send_head that cannot be extended.
      
      So here is a patch to change it so that tso_fragment is always used
      in this case.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c8ac3774
    • P
      [IPV6]: Fix raw socket hardware checksum failures · 793245ee
      Patrick McHardy 提交于
      When packets hit raw sockets the csum update isn't done yet, do it manually.
      Packets can also reach rawv6_rcv on the output path through
      ip6_call_ra_chain, in this case skb->ip_summed is CHECKSUM_NONE and this
      codepath isn't executed.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      793245ee
  7. 16 8月, 2005 1 次提交
  8. 12 8月, 2005 7 次提交
  9. 11 8月, 2005 2 次提交