1. 29 Aug, 2012 1 commit
  2. 12 Apr, 2012 1 commit
  3. 28 Mar, 2012 1 commit
  4. 27 May, 2011 1 commit
  5. 09 May, 2011 1 commit
    • Alexey Dobriyan's avatar
      net: add mac_pton() for parsing MAC address · 4940fc88
      Alexey Dobriyan authored
      
      
      mac_pton() parses MAC address in form XX:XX:XX:XX:XX:XX and only in that form.
      
      mac_pton() doesn't dirty result until it's sure string representation is valid.
      
      mac_pton() doesn't care about characters _after_ last octet,
      it's up to caller to deal with it.
      
      mac_pton() diverges from 0/-E return value convention.
      Target usage:
      
      	if (!mac_pton(str, whatever->mac))
      		return -EINVAL;
      	/* ->mac being u8 [ETH_ALEN] is filled at this point. */
      	/* optionally check str[3 * ETH_ALEN - 1] for termination */
      
      Use mac_pton() in pktgen and netconsole for start.
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4940fc88
  6. 23 Sep, 2010 1 commit
  7. 21 Sep, 2010 1 commit
  8. 12 Jul, 2010 1 commit
  9. 22 Sep, 2009 1 commit
    • Ingo Molnar's avatar
      printk: Remove ratelimit.h from kernel.h · 3fff4c42
      Ingo Molnar authored
      
      
      Decouple kernel.h from ratelimit.h: the global declaration of
      printk's ratelimit_state is not needed, and it leads to messy
      circular dependencies due to ratelimit.h's (new) adding of a
      spinlock_types.h include.
      
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: David S. Miller <davem@davemloft.net>
      LKML-Reference: <new-submission>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      3fff4c42
  10. 26 Mar, 2009 1 commit
  11. 25 Jul, 2008 1 commit
    • Dave Young's avatar
      printk ratelimiting rewrite · 717115e1
      Dave Young authored
      
      
      All ratelimit user use same jiffies and burst params, so some messages
      (callbacks) will be lost.
      
      For example:
      a call printk_ratelimit(5 * HZ, 1)
      b call printk_ratelimit(5 * HZ, 1) before the 5*HZ timeout of a, then b will
      will be supressed.
      
      - rewrite __ratelimit, and use a ratelimit_state as parameter.  Thanks for
        hints from andrew.
      
      - Add WARN_ON_RATELIMIT, update rcupreempt.h
      
      - remove __printk_ratelimit
      
      - use __ratelimit in net_ratelimit
      Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
      Cc: Dave Young <hidave.darkstar@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      717115e1
  12. 28 Jan, 2008 2 commits
  13. 07 Aug, 2007 1 commit
  14. 31 May, 2007 1 commit
    • Jerome Borsboom's avatar
      [NET]: parse ip:port strings correctly in in4_pton · 83f03fa5
      Jerome Borsboom authored
      
      
      in4_pton converts a textual representation of an ip4 address
      into an integer representation. However, when the textual representation
      is of in the form ip:port, e.g. 192.168.1.1:5060, and 'delim' is set to
      -1, the function bails out with an error when reading the colon.
      
      It makes sense to allow the colon as a delimiting character without
      explicitly having to set it through the 'delim' variable as there can be
      no ambiguity in the point where the ip address is completely parsed. This
      function is indeed called from nf_conntrack_sip.c in this way to parse
      textual ip:port combinations which fails due to the reason stated above.
      Signed-off-by: default avatarJerome Borsboom <j.borsboom@erasmusmc.nl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      83f03fa5
  15. 25 Apr, 2007 2 commits
  16. 11 Feb, 2007 1 commit
  17. 02 Dec, 2006 1 commit
  18. 17 Oct, 2006 1 commit
  19. 28 Sep, 2006 1 commit
  20. 22 Sep, 2006 2 commits
  21. 17 Aug, 2006 1 commit
  22. 11 Apr, 2006 1 commit
  23. 05 Feb, 2006 1 commit
  24. 06 Jan, 2006 1 commit
  25. 13 Nov, 2005 1 commit
  26. 29 Aug, 2005 1 commit
  27. 27 Jul, 2005 1 commit
  28. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4