1. 01 11月, 2007 8 次提交
    • I
      [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion · 261ab365
      Ilpo Jrvinen 提交于
      Similar to commit 3eec0047, point of this is to avoid
      skipping R-bit skbs.
      Signed-off-by: NIlpo Jrvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      261ab365
    • I
      [TCP]: Process DSACKs that reside within a SACK block · e56d6cd6
      Ilpo Jrvinen 提交于
      DSACK inside another SACK block were missed if start_seq of DSACK
      was larger than SACK block's because sorting prioritizes full
      processing of the SACK block before DSACK. After SACK block
      sorting situation is like this:
      
                   SSSSSSSSS
                        D
                              SSSSSS
                                     SSSSSSS
      
      Because write_queue is walked in-order, when the first SACK block
      has been processed, TCP is already past the skb for which the
      DSACK arrived and we haven't taught it to backtrack (nor should
      we), so TCP just continues processing by going to the next SACK
      block after the DSACK (if any).
      
      Whenever such DSACK is present, do an embedded checking during
      the previous SACK block.
      
      If the DSACK is below snd_una, there won't be overlapping SACK
      block, and thus no problem in that case. Also if start_seq of
      the DSACK is equal to the actual block, it will be processed
      first.
      
      Tested this by using netem to duplicate 15% of packets, and
      by printing SACK block when found_dup_sack is true and the 
      selected skb in the dup_sack = 1 branch (if taken):
      
        SACK block 0: 4344-5792 (relative to snd_una 2019137317)
        SACK block 1: 4344-5792 (relative to snd_una 2019137317) 
      
      equal start seqnos => next_dup = 0, dup_sack = 1 won't occur...
      
        SACK block 0: 5792-7240 (relative to snd_una 2019214061)
        SACK block 1: 2896-7240 (relative to snd_una 2019214061)
        DSACK skb match 5792-7240 (relative to snd_una)
      
      ...and next_dup = 1 case (after the not shown start_seq sort),
      went to dup_sack = 1 branch.
      Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e56d6cd6
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 · b1d08ac0
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
        Revert "Driver core: remove class_device_*_bin_file"
      b1d08ac0
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 57eb06e5
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 4634/1: DaVinci GPIO header build fix
        [ARM] 4636/1: pxa: add default configuration for zylonite
        [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com
        [ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c
        [ARM] nommu: fix breakage caused by f9720205
        [ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning
        [ARM] Fix FIQ issue with ARM926
        [ARM] Fix pxamci regression
        [ARM] Fix netx_defconfig regression
        [ARM] Fix ateb9200_defconfig build regression
        [ARM] Fix an rpc_defconfig regression
        [ARM] Fix omap_h2_1610_defconfig regressions
        [ARM] 4632/1: Fix a typo in include/asm-arm/plat-s3c/regs-nand.h
      57eb06e5
    • G
      Revert "Driver core: remove class_device_*_bin_file" · d919fd43
      Greg Kroah-Hartman 提交于
      This reverts commit fcd239d3.
      
      I messed up, ia64 still uses these files in the current tree, and now
      can not build the pci code, which all ia64 boxes seem to require :)
      
      This fixes that mistake.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d919fd43
    • A
      ieee1394: ieee1394_transactions.c: remove dead code · 2ed45b07
      Adrian Bunk 提交于
      This patch removes dead code spotted by the Intel C Compiler.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      2ed45b07
    • K
      firewire: Fix pci resume to not pass in a __be32 config rom. · 0bd243c4
      Kristian Høgsberg 提交于
      The ohci_enable() function shared between pci_probe and pci_resume
      takes a host endian config rom, but ohci->config_rom is __be32.  This
      sets up the config rom in the wrong endian on little endian machine,
      specifically, BusOptions will be initialized to a 0 max receive size.
      
      This patch changes the way we reuse the config rom so that we avoid
      this problem.
      Signed-off-by: NKristian Hoegsberg <krh@redhat.com>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      0bd243c4
    • L
      Remove broken ptrace() special-case code from file mapping · 5307cc1a
      Linus Torvalds 提交于
      The kernel has for random historical reasons allowed ptrace() accesses
      to access (and insert) pages into the page cache above the size of the
      file.
      
      However, Nick broke that by mistake when doing the new fault handling in
      commit 54cb8821 ("mm: merge populate and
      nopage into fault (fixes nonlinear)".  The breakage caused a hang with
      gdb when trying to access the invalid page.
      
      The ptrace "feature" really isn't worth resurrecting, since it really is
      wrong both from a portability _and_ from an internal page cache validity
      standpoint.  So this removes those old broken remnants, and fixes the
      ptrace() hang in the process.
      
      Noticed and bisected by Duane Griffin, who also supplied a test-case
      (quoth Nick: "Well that's probably the best bug report I've ever had,
      thanks Duane!").
      
      Cc: Duane Griffin <duaneg@dghda.com>
      Acked-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5307cc1a
  2. 31 10月, 2007 32 次提交