1. 16 8月, 2008 2 次提交
    • M
      tg3: Add APE register access locking · 77b483f1
      Matt Carlson 提交于
      If the driver resets the chip while the APE is performing a register
      access, that register access will never complete and the APE will hang
      indefinitely.  To prevent this race condition, the driver must acquire
      an APE mutex before resetting the chip.  The APE will not attempt a
      register access until it acquires this lock.
      Signed-off-by: NMatt Carlson <mcarlson@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      77b483f1
    • H
      ipv4: Disable route secret interval on zero interval · c6153b5b
      Herbert Xu 提交于
      Let me first state that disabling the route cache hash rebuild
      should not be done without extensive analysis on the risk profile
      and careful deliberation.
      
      However, there are times when this can be done safely or for
      testing.  For example, when you have mechanisms for ensuring
      that offending parties do not exist in your network.
      
      This patch lets the user disable the rebuild if the interval is
      set to zero.  This also incidentally fixes a divide-by-zero error
      with name-spaces.
      
      In addition, this patch makes the effect of an interval change
      immediate rather than it taking effect at the next rebuild as
      is currently the case.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c6153b5b
  2. 15 8月, 2008 7 次提交
  3. 14 8月, 2008 31 次提交