1. 25 Apr, 2007 3 commits
  2. 09 Mar, 2007 2 commits
  3. 07 Mar, 2007 1 commit
  4. 14 Feb, 2007 1 commit
    • Tim Schmielau's avatar
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau authored
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: default avatarTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  5. 11 Feb, 2007 1 commit
  6. 13 Dec, 2006 1 commit
    • Brian Haley's avatar
      [IPV6]: Fix IPV6_UNICAST_HOPS getsockopt(). · befffe90
      Brian Haley authored
      > Relevant standard (RFC 3493) notes:
      >    The IPV6_UNICAST_HOPS option may be used with getsockopt() to
      >    determine the hop limit value that the system will use for subsequent
      >    unicast packets sent via that socket.
      > I don't reckon -1 could be the hop limit value.
      -1 means un-initialized.
      > IMHO, the value from
      > case 1 (if socket is connected to some destination), otherwise case 2
      > (if bound to a scope interface) or ultimately the default hop limit
      > ought to be returned instead, as it will be most often correct, while
      > the current behavior is always wrong, unless setsockopt() has been used
      > first. I don't if some people may think doing a route lookup in
      > getsockopt might be overly expensive, but at least the two other cases
      > should be ok, particularly the last one.
      The following patch seems to work for me, but this code has behaved this
      way for a while, so don't know if it will break any existing apps.
      Signed-off-by: default avatarBrian Haley <brian.haley@hp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  7. 02 Dec, 2006 1 commit
    • Gerrit Renker's avatar
      [NET]: Supporting UDP-Lite (RFC 3828) in Linux · ba4e58ec
      Gerrit Renker authored
      This is a revision of the previously submitted patch, which alters
      the way files are organized and compiled in the following manner:
      	* UDP and UDP-Lite now use separate object files
      	* source file dependencies resolved via header files
      	* order of inclusion files in udp.c/udplite.c adapted
      [NET/IPv4]: Support for the UDP-Lite protocol (RFC 3828)
      This patch adds support for UDP-Lite to the IPv4 stack, provided as an
      extension to the existing UDPv4 code:
              * generic routines are all located in net/ipv4/udp.c
              * UDP-Lite specific routines are in net/ipv4/udplite.c
              * MIB/statistics support in /proc/net/snmp and /proc/net/udplite
              * shared API with extensions for partial checksum coverage
      [NET/IPv6]: Extension for UDP-Lite over IPv6
      It extends the existing UDPv6 code base with support for UDP-Lite
      in the same manner as per UDPv4. In particular,
              * UDPv6 generic and shared code is in net/ipv6/udp.c
              * UDP-Litev6 specific extensions are in net/ipv6/udplite.c
              * MIB/statistics support in /proc/net/snmp6 and /proc/net/udplite6
              * support for IPV6_ADDRFORM
              * aligned the coding style of protocol initialisation with af_inet6.c
              * made the error handling in udpv6_queue_rcv_skb consistent;
                to return `-1' on error on all error cases
              * consolidation of shared code
      [NET]: UDP-Lite Documentation and basic XFRM/Netfilter support
      The UDP-Lite patch further provides
              * API documentation for UDP-Lite
              * basic xfrm support
              * basic netfilter support for IPv4 and IPv6 (LOG target)
      Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  8. 28 Sep, 2006 1 commit
  9. 22 Sep, 2006 1 commit
  10. 18 Sep, 2006 1 commit
  11. 08 Jul, 2006 1 commit
  12. 03 Jul, 2006 2 commits
  13. 30 Jun, 2006 2 commits
  14. 22 Mar, 2006 1 commit
  15. 20 Mar, 2006 2 commits
  16. 11 Jan, 2006 2 commits
  17. 03 Jan, 2006 2 commits
  18. 29 Nov, 2005 1 commit
  19. 14 Nov, 2005 1 commit
  20. 08 Nov, 2005 1 commit
  21. 07 Sep, 2005 2 commits
  22. 29 Aug, 2005 3 commits
  23. 06 Aug, 2005 1 commit
  24. 21 Jun, 2005 1 commit
    • David L Stevens's avatar
      [IPV6]: multicast join and misc · c9e3e8b6
      David L Stevens authored
      Here is a simplified version of the patch to fix a bug in IPv6
      multicasting. It:
      1) adds existence check & EADDRINUSE error for regular joins
      2) adds an exception for EADDRINUSE in the source-specific multicast
              join (where a prior join is ok)
      3) adds a missing/needed read_lock on sock_mc_list; would've raced
              with destroying the socket on interface down without
      4) adds a "leave group" in the (INCLUDE, empty) source filter case.
              This frees unneeded socket buffer memory, but also prevents
              an inappropriate interaction among the 8 socket options that
              mess with this. Some would fail as if in the group when you
              aren't really.
      Item #4 had a locking bug in the last version of this patch; rather than
      removing the idev->lock read lock only, I've simplified it to remove
      all lock state in the path and treat it as a direct "leave group" call for
      the (INCLUDE,empty) case it covers. Tested on an MP machine. :-)
      Much thanks to HoerdtMickael <hoerdt@clarinet.u-strasbg.fr> who
      reported the original bug.
      Signed-off-by: default avatarDavid L Stevens <dlstevens@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  25. 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!