1. 28 6月, 2008 2 次提交
  2. 25 6月, 2008 1 次提交
  3. 20 6月, 2008 2 次提交
  4. 17 6月, 2008 1 次提交
  5. 13 6月, 2008 1 次提交
    • D
      ipv6: Fix duplicate initialization of rawv6_prot.destroy · f23d60de
      David S. Miller 提交于
      In changeset 22dd4850
      ("raw: Raw socket leak.") code was added so that we
      flush pending frames on raw sockets to avoid leaks.
      
      The ipv4 part was fine, but the ipv6 part was not
      done correctly.  Unlike the ipv4 side, the ipv6 code
      already has a .destroy method for rawv6_prot.
      
      So now there were two assignments to this member, and
      what the compiler does is use the last one, effectively
      making the ipv6 parts of that changeset a NOP.
      
      Fix this by removing the:
      
      	.destroy	   = inet6_destroy_sock,
      
      line, and adding an inet6_destroy_sock() call to the
      end of raw6_destroy().
      
      Noticed by Al Viro.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      f23d60de
  6. 12 6月, 2008 5 次提交
  7. 11 6月, 2008 1 次提交
  8. 10 6月, 2008 1 次提交
  9. 05 6月, 2008 13 次提交
  10. 04 6月, 2008 1 次提交
  11. 22 5月, 2008 1 次提交
  12. 21 5月, 2008 1 次提交
    • H
      ipsec: Use the correct ip_local_out function · 1ac06e03
      Herbert Xu 提交于
      Because the IPsec output function xfrm_output_resume does its
      own dst_output call it should always call __ip_local_output
      instead of ip_local_output as the latter may invoke dst_output
      directly.  Otherwise the return values from nf_hook and dst_output
      may clash as they both use the value 1 but for different purposes.
      
      When that clash occurs this can cause a packet to be used after
      it has been freed which usually leads to a crash.  Because the
      offending value is only returned from dst_output with qdiscs
      such as HTB, this bug is normally not visible.
      
      Thanks to Marco Berizzi for his perseverance in tracking this
      down.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1ac06e03
  13. 20 5月, 2008 4 次提交
  14. 13 5月, 2008 1 次提交
  15. 09 5月, 2008 1 次提交
  16. 05 5月, 2008 1 次提交
  17. 03 5月, 2008 1 次提交
  18. 02 5月, 2008 1 次提交
  19. 01 5月, 2008 1 次提交