1. 06 Oct, 2004 29 commits
  2. 05 Oct, 2004 11 commits
    • Herbert Xu's avatar
      [TCP]: Fix bug that hid sockets in tcp_diag · 02ae675f
      Herbert Xu authored
      This patch squashes a bug in tcp_diag which was created when the
      sk_* loops replaced the original for loops.  It's a pity that these
      sk_*/hlist_*/list_* loops don't take an arbitrary expression as an
      argument for continue.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      02ae675f
    • Hideaki Yoshifuji's avatar
      [INET]: Fix ECN encapsulation. · a31f1aeb
      Hideaki Yoshifuji authored
      We broke ECN encapsulation in tunnels recently.
      Without this patch, even though encapusulated (inner) packet is 
      'not-ECN', encapusulating (outer) packet is sent with 'ECT(0)' set.
      This is wrong and should be 'not-ECN.'
      This patch fixes up.
      
      From RFC3168:
         The full-functionality option for ECN encapsulation is to copy the
         ECN codepoint of the inside header to the outside header on
         encapsulation if the inside header is not-ECT or ECT, and to set the
         ECN codepoint of the outside header to ECT(0) if the ECN codepoint of
         the inside header is CE.
      Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a31f1aeb
    • Herbert Xu's avatar
      [TCP]: Show all SYN_RECV sockets in /proc/net/tcp · a1b4d745
      Herbert Xu authored
      I was fixing the tcp_diag so that it shows SYN_RECV sockets properly.
      I found that /proc/net/tcp didn't do it correctly either.  So here is
      a small patch to fix /proc/net/tcp.
      
      The logic in there stinks though so I'd love to see a rewrite.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a1b4d745
    • David S. Miller's avatar
      [SPARC64]: Make kprobe implementation more robust. · cb8b9b70
      David S. Miller authored
      Switch over to use the single-step scheme which x86 uses
      which is to execute the kprobe instruction in the
      kprobe->insn[] area.  Also, make sure the kprobe execution
      runs fully with interrupts disabled, so we do not deadlock.
      
      This required adding code to fix things up as a result of
      the instruction executing at a PC which is different from
      where it would normally execute.  For example, if the
      instruction is a PC-relative branch, we have to adjust the
      final PC value.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cb8b9b70
    • Linus Torvalds's avatar
      i386: mark do_test_wp_bit() noinline · 8756f2ef
      Linus Torvalds authored
      As reported by Zachary Amsden <zach@vmware.com>,
      some gcc versions will inline the function even when
      it is declared after the call-site. This particular
      function must not be inlined, since the exception
      recovery doesn't like __init sections (which the caller
      is in).
      8756f2ef
    • Linus Torvalds's avatar
      prism54: iomem annotations. · 04dceb0c
      Linus Torvalds authored
      sparse still complains about the games the driver
      plays with user pointers, though.
      04dceb0c
    • Linus Torvalds's avatar
      pcmcia: add iomem sparse annotations. · 8993d879
      Linus Torvalds authored
      It was pretty clean already, adding the proper annotations
      to the base pointers and a few functions was all it took
      to make sparse happy about the PCI accesses.
      8993d879
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6 · 78b962bd
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      78b962bd
    • Jeff Garzik's avatar
      Merge pobox.com:/spare/repo/linux-2.6 · 69e93c72
      Jeff Garzik authored
      into pobox.com:/spare/repo/net-drivers-2.6
      69e93c72
    • Linus Torvalds's avatar
      Fix up CHECKFLAGS definitions · 18955165
      Linus Torvalds authored
      More recent versions of sparse do not define the Linux-specific
      default defines, so we make the main Makefile default to the
      regular Linux preprocessor defines (__linux__,  linux, __STDC__
      and unix, __unix__).
      
      Also, sparse has long since fixed the default empty define to
      be "1" as in regular C, so remove the unnecessary "=1" from
      the architecture-specific sparse CHECKFLAGS.
      18955165
    • Ingo Molnar's avatar
      [PATCH] Fix task_hot() balancing · 00a87a38
      Ingo Molnar authored
      This fixes the integer underflow in task_hot() noticed by Kenneth W Chen
      and makes use of p->last_ran to separate load-balancing timestamps (used
      by task_hot()) from interactivity timestamps.  (which two interfered)
      
      compiled, booted on x86 SMP.
      
      Confirmed by Kenneth Chen <kenneth.w.chen@intel.com> to fix the db
      transaction processing workload that showed the balancing problem.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      00a87a38