1. 15 7月, 2008 1 次提交
    • W
      bonding: Check return of dev_set_promiscuity/allmulti · 7e1a1ac1
      Wang Chen 提交于
      dev_set_promiscuity/allmulti might overflow.
      Commit: "netdevice: Fix promiscuity and allmulti overflow" in net-next makes
      dev_set_promiscuity/allmulti return error number if overflow happened.
      
      In bond_alb and bond_main, we check all positive increment for promiscuity
      and allmulti to get error return.
      But there are still two problems left.
      1. Some code path has no mechanism to signal errors upstream.
      2. If there are multi slaves, it's hard to tell which slaves increment
         promisc/allmulti successfully and which failed.
      So I left these problems to be FIXME.
      Fortunately, the overflow is very rare case.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7e1a1ac1
  2. 26 3月, 2008 2 次提交
  3. 19 1月, 2008 2 次提交
  4. 24 10月, 2007 4 次提交
  5. 11 10月, 2007 2 次提交
  6. 26 4月, 2007 7 次提交
  7. 09 2月, 2007 1 次提交
  8. 05 10月, 2006 1 次提交
  9. 04 3月, 2006 1 次提交
  10. 13 1月, 2006 1 次提交
    • J
      [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c · 5af47b2f
      Jay Vosburgh 提交于
      	I believe I see the race Michael refers to (tlb_choose_channel
      may set head, which tlb_init_slave clears), although I was not able to
      reproduce it.  I have updated his patch for the current netdev-2.6.git
      tree and added a version update.  His original comment follows:
      
      Our systems have been crashing during testing of PCI HotPlug
      support in the various networking components.  We've faulted in
      the bonding driver due to a bug in bond_alb.c:tlb_clear_slave()
      
      In that routine, the last modification to the TLB hash table is
      made without protection of the lock, allowing a race that can lead
      tlb_choose_channel() to select an invalid table element.
      
      	-J
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      5af47b2f
  11. 29 11月, 2005 1 次提交
  12. 14 11月, 2005 4 次提交
  13. 30 8月, 2005 1 次提交
    • D
      [NET]: Kill skb->real_dev · f2ccd8fa
      David S. Miller 提交于
      Bonding just wants the device before the skb_bond()
      decapsulation occurs, so simply pass that original
      device into packet_type->func() as an argument.
      
      It remains to be seen whether we can use this same
      exact thing to get rid of skb->input_dev as well.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f2ccd8fa
  14. 31 7月, 2005 1 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4