1. 28 7月, 2011 1 次提交
    • N
      net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared · 550fd08c
      Neil Horman 提交于
      After the last patch, We are left in a state in which only drivers calling
      ether_setup have IFF_TX_SKB_SHARING set (we assume that drivers touching real
      hardware call ether_setup for their net_devices and don't hold any state in
      their skbs.  There are a handful of drivers that violate this assumption of
      course, and need to be fixed up.  This patch identifies those drivers, and marks
      them as not being able to support the safe transmission of skbs by clearning the
      IFF_TX_SKB_SHARING flag in priv_flags
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Karsten Keil <isdn@linux-pingi.de>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Jay Vosburgh <fubar@us.ibm.com>
      CC: Andy Gospodarek <andy@greyhouse.net>
      CC: Patrick McHardy <kaber@trash.net>
      CC: Krzysztof Halasa <khc@pm.waw.pl>
      CC: "John W. Linville" <linville@tuxdriver.com>
      CC: Greg Kroah-Hartman <gregkh@suse.de>
      CC: Marcel Holtmann <marcel@holtmann.org>
      CC: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      550fd08c
  2. 27 6月, 2011 1 次提交
  3. 06 5月, 2011 1 次提交
  4. 03 6月, 2010 1 次提交
  5. 04 12月, 2009 1 次提交
  6. 30 11月, 2009 1 次提交
  7. 01 9月, 2009 1 次提交
  8. 06 7月, 2009 1 次提交
  9. 19 5月, 2009 1 次提交
    • E
      net: release dst entry in dev_hard_start_xmit() · 93f154b5
      Eric Dumazet 提交于
      One point of contention in high network loads is the dst_release() performed
      when a transmited skb is freed. This is because NIC tx completion calls
      dev_kree_skb() long after original call to dev_queue_xmit(skb).
      
      CPU cache is cold and the atomic op in dst_release() stalls. On SMP, this is
      quite visible if one CPU is 100% handling softirqs for a network device,
      since dst_clone() is done by other cpus, involving cache line ping pongs.
      
      It seems right place to release dst is in dev_hard_start_xmit(), for most
      devices but ones that are virtual, and some exceptions.
      
      David Miller suggested to define a new device flag, set in alloc_netdev_mq()
      (so that most devices set it at init time), and carefuly unset in devices
      which dont want a NULL skb->dst in their ndo_start_xmit().
      
      List of devices that must clear this flag is :
      
      - loopback device, because it calls netif_rx() and quoting Patrick :
          "ip_route_input() doesn't accept loopback addresses, so loopback packets
           already need to have a dst_entry attached."
      - appletalk/ipddp.c : needs skb->dst in its xmit function
      
      - And all devices that call again dev_queue_xmit() from their xmit function
      (as some classifiers need skb->dst) : bonding, vlan, macvlan, eql, ifb, hdlc_fr
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      93f154b5
  10. 01 2月, 2009 1 次提交
  11. 22 1月, 2009 1 次提交
  12. 22 11月, 2008 1 次提交
  13. 24 7月, 2008 1 次提交
  14. 04 7月, 2008 3 次提交
  15. 25 4月, 2008 1 次提交
  16. 06 2月, 2008 3 次提交
  17. 14 8月, 2007 1 次提交
  18. 28 4月, 2007 1 次提交
  19. 26 4月, 2007 3 次提交
  20. 03 3月, 2007 1 次提交
  21. 27 9月, 2006 1 次提交
  22. 13 7月, 2006 1 次提交
  23. 17 11月, 2005 1 次提交
  24. 14 9月, 2005 1 次提交
    • A
      [PATCH] drivers/net/wan/: possible cleanups · 7665a089
      Adrian Bunk 提交于
      This patch contains possible cleanups including the following:
      - make needlessly global code static
      - #if 0 the following unused global function:
        - sdladrv.c: sdla_intde
      - remove the following unused global variable:
        - lmc_media.c: lmc_t1_cables
      - remove the following unneeded EXPORT_SYMBOL's:
        - cycx_drv.c: cycx_inten
        - sdladrv.c: sdla_inten
        - sdladrv.c: sdla_intde
        - sdladrv.c: sdla_intack
        - sdladrv.c: sdla_intr
        - syncppp.c: sppp_input
        - syncppp.c: sppp_change_mtu
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      7665a089
  25. 16 5月, 2005 1 次提交
    • K
      [PATCH] Generic HDLC update · b3dd65f9
      Krzysztof Halasa 提交于
      The attached patch updates generic HDLC to version 1.18.
      FR Cisco LMI production-tested. Please apply to Linux 2.6. Thanks.
      
      Changes:
      - doc updates
      - added Cisco LMI support to Frame-Relay code
      - cleaned hdlc_fr.c a bit, removed some orphaned #defines etc.
      - fixed a problem with non-functional LMI in FR DCE mode.
      - changed diagnostic messages to better conform to FR standards
      - all protocols: information about carrier changes (DCD line) is now
        printed to kernel logs.
      Signed-Off-By: NKrzysztof Halasa <khc@pm.waw.pl>
      b3dd65f9
  26. 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