1. 20 Feb, 2008 2 commits
    • Daniel Lezcano's avatar
      veth: fix dev refcount race · c15853f2
      Daniel Lezcano authored
      When deleting the veth driver, veth_close calls netif_carrier_off
      for the two extremities of the network device. netif_carrier_off on
      the peer device will fire an event and hold a reference on the peer
      device. Just after, the peer is unregistered taking the rtnl_lock while
      the linkwatch_event is scheduled. If __linkwatch_run_queue does not
      occurs before the unregistering, unregister_netdevice will wait for
      the dev refcount to reach zero holding the rtnl_lock and linkwatch_event
      will wait for the rtnl_lock and hold the dev refcount.
      Signed-off-by: default avatarDaniel Lezcano <dlezcano@fr.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    • Matheos Worku's avatar
      [NIU]: More BMAC alt MAC address fixes. · fa907895
      Matheos Worku authored
      From: Matheos Worku <Matheos.Worku@Sun.COM>
      1) niu_enable_alt_mac() needs to be adjusted so that the mask
         is computed properly for the BMAC case.
      2) BMAC has 6 alt MAC addresses available, not 7.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  2. 19 Feb, 2008 11 commits
  3. 18 Feb, 2008 13 commits
  4. 17 Feb, 2008 11 commits
  5. 15 Feb, 2008 3 commits