1. 04 10月, 2011 2 次提交
    • D
      net: xen-netback: correctly restart Tx after a VM restore/migrate · d0e5d832
      David Vrabel 提交于
      If a VM is saved and restored (or migrated) the netback driver will no
      longer process any Tx packets from the frontend.  xenvif_up() does not
      schedule the processing of any pending Tx requests from the front end
      because the carrier is off.  Without this initial kick the frontend
      just adds Tx requests to the ring without raising an event (until the
      ring is full).
      
      This was caused by 47103041 (net:
      xen-netback: convert to hw_features) which reordered the calls to
      xenvif_up() and netif_carrier_on() in xenvif_connect().
      Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Acked-by: NIan Campbell <ian.campbell@citrix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d0e5d832
    • A
      bonding: properly stop queuing work when requested · a0db2dad
      Andy Gospodarek 提交于
      During a test where a pair of bonding interfaces using ARP monitoring
      were both brought up and torn down (with an rmmod) repeatedly, a panic
      in the timer code was noticed.  I tracked this down and determined that
      any of the bonding functions that ran as workqueue handlers and requeued
      more work might not properly exit when the module was removed.
      
      There was a flag protected by the bond lock called kill_timers that is
      set when the interface goes down or the module is removed, but many of
      the functions that monitor link status now unlock the bond lock to take
      rtnl first.  There is a chance that another CPU running the rmmod could
      get the lock and set kill_timers after the first check has passed.
      
      This patch does not allow any function to queue work that will make
      itself run unless kill_timers is not set.  I also noticed while doing
      this work that bond_resend_igmp_join_requests did not have a check for
      kill_timers, so I added the needed call there as well.
      Signed-off-by: NAndy Gospodarek <andy@greyhouse.net>
      Reported-by: NLiang Zheng <lzheng@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a0db2dad
  2. 30 9月, 2011 3 次提交
  3. 29 9月, 2011 8 次提交
  4. 28 9月, 2011 20 次提交
  5. 27 9月, 2011 7 次提交