1. 09 6月, 2009 1 次提交
    • D
      be2net: Remove unnecessary frag list traversing. · ebc8d2ab
      David S. Miller 提交于
      This driver does not indicate support for frag lists.
      
      Furthermore, even if it did, the code is walking the frag
      lists incorrectly.  The idiom is:
      
      	for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)
      
      but it's doing:
      
      	for (iter = skb_shinfo(skb)->frag_list; iter;
      	     iter = skb_shinfo(iter)->frag_list)
      
      which would never work.  And this proves that this driver never
      saw an SKB with active frag lists.
      
      So just remove the code altogether and the driver TX path becomes
      much simpler.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ebc8d2ab
  2. 08 6月, 2009 25 次提交
  3. 07 6月, 2009 14 次提交
新手
引导
客服 返回
顶部