Skip to content
Snippets Groups Projects
  1. Sep 14, 2010
    • Simon Guinot's avatar
      phylib: fix PAL state machine restart on resume · fddd9101
      Simon Guinot authored
      
      On resume, before starting the PAL state machine, check if the
      adjust_link() method is well supplied. If not, this would lead to a
      NULL pointer dereference in the phy_state_machine() function.
      
      This scenario can happen if the Ethernet driver call manually the PHY
      functions instead of using the PAL state machine. The mv643xx_eth driver
      is a such example.
      
      Signed-off-by: default avatarSimon Guinot <sguinot@lacie.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fddd9101
    • Andy Gospodarek's avatar
      bonding: correctly process non-linear skbs · ab12811c
      Andy Gospodarek authored
      
      It was recently brought to my attention that 802.3ad mode bonds would no
      longer form when using some network hardware after a driver update.
      After snooping around I realized that the particular hardware was using
      page-based skbs and found that skb->data did not contain a valid LACPDU
      as it was not stored there.  That explained the inability to form an
      802.3ad-based bond.  For balance-alb mode bonds this was also an issue
      as ARPs would not be properly processed.
      
      This patch fixes the issue in my tests and should be applied to 2.6.36
      and as far back as anyone cares to add it to stable.
      
      Thanks to Alexander Duyck <alexander.h.duyck@intel.com> and Jesse
      Brandeburg <jesse.brandeburg@intel.com> for the suggestions on this one.
      
      Signed-off-by: default avatarAndy Gospodarek <andy@greyhouse.net>
      CC: Alexander Duyck <alexander.h.duyck@intel.com>
      CC: Jesse Brandeburg <jesse.brandeburg@intel.com>
      CC: stable@kerne.org
      Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ab12811c
  2. Sep 13, 2010
  3. Sep 09, 2010
    • Dan Williams's avatar
      ipheth: remove incorrect devtype to WWAN · c9cedbba
      Dan Williams authored
      
      The 'wwan' devtype is meant for devices that require preconfiguration
      and *every* time setup before the ethernet interface can be used, like
      cellular modems which require a series of setup commands on serial ports
      or other mechanisms before the ethernet interface will handle packets.
      
      As ipheth only requires one-per-hotplug pairing setup with no
      preconfiguration (like APN, phone #, etc) and the network interface is
      usable at any time after that initial setup, remove the incorrect
      devtype wwan.
      
      Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c9cedbba
  4. Sep 08, 2010
  5. Sep 07, 2010
  6. Sep 06, 2010
Loading