1. 22 Feb, 2009 1 commit
  2. 20 Feb, 2009 7 commits
  3. 19 Feb, 2009 8 commits
  4. 18 Feb, 2009 1 commit
    • David S. Miller's avatar
      net: Kill skb_truesize_check(), it only catches false-positives. · 92a0acce
      David S. Miller authored
      A long time ago we had bugs, primarily in TCP, where we would modify
      skb->truesize (for TSO queue collapsing) in ways which would corrupt
      the socket memory accounting.
      
      skb_truesize_check() was added in order to try and catch this error
      more systematically.
      
      However this debugging check has morphed into a Frankenstein of sorts
      and these days it does nothing other than catch false-positives.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      92a0acce
  5. 16 Feb, 2009 1 commit
    • Tobias Diedrich's avatar
      net: forcedeth: Fix wake-on-lan regression · 34edaa88
      Tobias Diedrich authored
      Commit f55c21fd ("forcedeth: call
      restore mac addr in nv_shutdown path"), which was introduced to fix
      the regression tracked at
      http://bugzilla.kernel.org/show_bug.cgi?id=11358 causes the
      wake-on-lan mac to be reversed in the shutdown path.  Apparently the
      forcedeth situation is rather messy in that the mac we need to
      writeback for a subsequent modprobe to work is exactly the reverse of
      what is needed for proper wake-on-lan.
      
      The following patch explains the situation in the comments and
      makes the call to nv_restore_mac_addr() conditional (only called if
      we are not really going for poweroff).
      
      Tobias Diedrich wrote:
      > Hmm, I had not tried WOL for some time.
      > With 2.6.29-rc3 is see the following behaviour:
      > 
      > State            WOL Behaviour
      > ------------------------------
      > shutdown         reversed MAC
      > disk/shutdown    reversed MAC
      > disk/platform    OK
      > 
      > Apparently nv_restore_mac_addr() restores the MAC in the wrong order
      > for WOL (at least for my PCI_DEVICE_ID_NVIDIA_NVENET_15).  platform
      > works, because the MAC is not touched in the nv_suspend() path.
      > 
      > A possible fix might be to only call nv_restore_mac_addr() if
      > system_state != SYSTEM_POWER_OFF.
      
      With the following patch:
      shutdown         OK
      disk/shutdown    OK
      disk/platform    OK
      kexec            OK
      Signed-off-by: default avatarTobias Diedrich <ranma+kernel@tdiedrich.de>
      Tested-by: default avatarPhilipp Matthias Hahn <pmhahn@titan.lahn.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      34edaa88
  6. 13 Feb, 2009 21 commits
  7. 11 Feb, 2009 1 commit
    • Reinette Chatre's avatar
      iwlwifi: fix suspend/resume and its usage of pci saved state · 89c581b3
      Reinette Chatre authored
      Here we do two things:
      
      First, revert "iwlwifi: save PCI state before suspend, restore after
      resume".  That misguided patch led to being unable to use iwlwifi
      devices after resume.
      
      Next, indicate to PCI driver that the saved PCI state is valid during suspend.
      
      We restore PCI state and enable the device when network interface is created,
      similarly PCI state is saved and the device is disabled when network interface
      is removed. Thus, when .suspend is called the PCI state is saved and device
      is disabled. This is the case even if an interface is never created as PCI
      state is saved and device disabled during .probe.
      
      PCI driver assumes PCI state is saved in .suspend. Saving the state at this
      time will save state of disabled device and thus cause problems during
      resume (resuming a disabled device). We thus indicate directly to PCI
      driver that current PCI saved state is valid.
      Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
      Tested-by: default avatarAlex Riesen <fork0@users.sf.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      89c581b3