1. 25 4月, 2013 1 次提交
  2. 01 2月, 2013 1 次提交
  3. 08 1月, 2013 1 次提交
  4. 16 5月, 2012 2 次提交
  5. 29 7月, 2011 1 次提交
  6. 28 2月, 2011 1 次提交
  7. 17 1月, 2010 1 次提交
  8. 02 12月, 2009 1 次提交
  9. 26 11月, 2009 1 次提交
  10. 19 10月, 2009 1 次提交
  11. 25 6月, 2009 1 次提交
  12. 09 6月, 2009 1 次提交
  13. 26 7月, 2008 1 次提交
  14. 05 6月, 2008 1 次提交
  15. 28 4月, 2008 1 次提交
    • H
      [IPSEC]: Use digest_null directly for auth · 01a2202c
      Herbert Xu 提交于
      Previously digest_null had no setkey function which meant that
      we used hmac(digest_null) for IPsec since IPsec always calls
      setkey.  Now that digest_null has a setkey we no longer need to
      do that.
      
      In fact when only confidentiality is specified for ESP we already
      use digest_null directly.  However, when the null algorithm is
      explicitly specified by the user we still opt for hmac(digest_null).
      
      This patch removes this discrepancy.  I have not added a new compat
      name for it because by chance it wasn't actualy possible for the user
      to specify the name hmac(digest_null) due to a key length check in
      xfrm_user (which I found out when testing that compat name :)
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      01a2202c
  16. 08 2月, 2008 1 次提交
  17. 01 2月, 2008 2 次提交
  18. 29 1月, 2008 1 次提交
  19. 02 11月, 2007 1 次提交
  20. 26 10月, 2007 1 次提交
  21. 24 10月, 2007 1 次提交
  22. 23 10月, 2007 2 次提交
  23. 23 5月, 2007 1 次提交
  24. 20 5月, 2007 1 次提交
  25. 28 4月, 2007 1 次提交
  26. 26 4月, 2007 2 次提交
    • J
      [NET]: Clean up sk_buff walkers. · eefa3906
      Jean Delvare 提交于
      I noticed recently that, in skb_checksum(), "offset" and "start" are
      essentially the same thing and have the same value throughout the
      function, despite being computed differently. Using a single variable
      allows some cleanups and makes the skb_checksum() function smaller,
      more readable, and presumably marginally faster.
      
      We appear to have many other "sk_buff walker" functions built on the
      exact same model, so the cleanup applies to them, too. Here is a list
      of the functions I found to be affected:
      
      net/appletalk/ddp.c:atalk_sum_skb()
      net/core/datagram.c:skb_copy_datagram_iovec()
      net/core/datagram.c:skb_copy_and_csum_datagram()
      net/core/skbuff.c:skb_copy_bits()
      net/core/skbuff.c:skb_store_bits()
      net/core/skbuff.c:skb_checksum()
      net/core/skbuff.c:skb_copy_and_csum_bit()
      net/core/user_dma.c:dma_skb_copy_datagram_iovec()
      net/xfrm/xfrm_algo.c:skb_icv_walk()
      net/xfrm/xfrm_algo.c:skb_to_sgvec()
      
      OTOH, I admit I'm a bit surprised, the cleanup is rather obvious so I'm
      really wondering if I am missing something. Can anyone please comment
      on this?
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eefa3906
    • D
      [NET]: Move generic skbuff stuff from XFRM code to generic code · 716ea3a7
      David Howells 提交于
      Move generic skbuff stuff from XFRM code to generic code so that
      AF_RXRPC can use it too.
      
      The kdoc comments I've attached to the functions needs to be checked
      by whoever wrote them as I had to make some guesses about the workings
      of these functions.
      Signed-off-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      716ea3a7
  27. 11 2月, 2007 1 次提交
  28. 07 2月, 2007 1 次提交
  29. 01 1月, 2007 1 次提交
  30. 07 12月, 2006 1 次提交
  31. 21 9月, 2006 4 次提交
  32. 01 7月, 2006 1 次提交
  33. 10 1月, 2006 1 次提交