1. 21 9月, 2006 3 次提交
  2. 18 9月, 2006 2 次提交
  3. 01 9月, 2006 1 次提交
  4. 30 8月, 2006 2 次提交
    • K
      [IPV6]: ipv6_add_addr should install dstentry earlier · 57f5f544
      Keir Fraser 提交于
      ipv6_add_addr allocates a struct inet6_ifaddr and a dstentry, but it
      doesn't install the dstentry in ifa->rt until after it releases the
      addrconf_hash_lock. This means other CPUs will be able to see the new
      address while it hasn't been initialized completely yet.
      
      One possible fix would be to grab the ifp->lock spinlock when
      creating the address struct; a simpler fix is to just move the
      assignment.
      
      Acked-by: jbeulich@novell.com
      Acked-by: okir@suse.de
      Acked-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      57f5f544
    • L
      [IPV6]: SNMPv2 "ipv6IfStatsInAddrErrors" counter error · 76d0cc1b
      Lv Liangying 提交于
         When I tested Linux kernel 2.6.17.7 about statistics
      "ipv6IfStatsInAddrErrors", found that this counter couldn't increase
      correctly. The criteria is RFC2465:
       ipv6IfStatsInAddrErrors OBJECT-TYPE
            SYNTAX      Counter32
            MAX-ACCESS  read-only
            STATUS      current
            DESCRIPTION
               "The number of input datagrams discarded because
               the IPv6 address in their IPv6 header's destination
               field was not a valid address to be received at
               this entity.  This count includes invalid
               addresses (e.g., ::0) and unsupported addresses
               (e.g., addresses with unallocated prefixes).  For
               entities which are not IPv6 routers and therefore
               do not forward datagrams, this counter includes
               datagrams discarded because the destination address
               was not a local address."
            ::= { ipv6IfStatsEntry 5 }
      
      When I send packet to host with destination that is ether invalid
      address(::0) or unsupported addresses(1::1), the Linux kernel just
      discard the packet, and the counter doesn't increase(in the function
      ip6_pkt_discard).
      Signed-off-by: NLv Liangying <lvly@nanjing-fnst.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      76d0cc1b
  5. 27 8月, 2006 1 次提交
  6. 18 8月, 2006 2 次提交
  7. 14 8月, 2006 2 次提交
  8. 10 8月, 2006 1 次提交
  9. 03 8月, 2006 11 次提交
  10. 26 7月, 2006 1 次提交
  11. 25 7月, 2006 2 次提交
  12. 22 7月, 2006 2 次提交
  13. 13 7月, 2006 3 次提交
  14. 09 7月, 2006 2 次提交
  15. 04 7月, 2006 3 次提交
  16. 01 7月, 2006 2 次提交
    • H
      [IPV6]: Added GSO support for TCPv6 · f83ef8c0
      Herbert Xu 提交于
      This patch adds GSO support for IPv6 and TCPv6.  This is based on a patch
      by Ananda Raju <Ananda.Raju@neterion.com>.  His original description is:
      
      	This patch enables TSO over IPv6. Currently Linux network stacks
      	restricts TSO over IPv6 by clearing of the NETIF_F_TSO bit from
      	"dev->features". This patch will remove this restriction.
      
      	This patch will introduce a new flag NETIF_F_TSO6 which will be used
      	to check whether device supports TSO over IPv6. If device support TSO
      	over IPv6 then we don't clear of NETIF_F_TSO and which will make the
      	TCP layer to create TSO packets. Any device supporting TSO over IPv6
      	will set NETIF_F_TSO6 flag in "dev->features" along with NETIF_F_TSO.
      
      	In case when user disables TSO using ethtool, NETIF_F_TSO will get
      	cleared from "dev->features". So even if we have NETIF_F_TSO6 we don't
      	get TSO packets created by TCP layer.
      
      	SKB_GSO_TCPV4 renamed to SKB_GSO_TCP to make it generic GSO packet.
      	SKB_GSO_UDPV4 renamed to SKB_GSO_UDP as UFO is not a IPv4 feature.
      	UFO is supported over IPv6 also
      
      	The following table shows there is significant improvement in
      	throughput with normal frames and CPU usage for both normal and jumbo.
      
      	--------------------------------------------------
      	|          |     1500        |      9600         |
      	|          ------------------|-------------------|
      	|          | thru     CPU    |  thru     CPU     |
      	--------------------------------------------------
      	| TSO OFF  | 2.00   5.5% id  |  5.66   20.0% id  |
      	--------------------------------------------------
      	| TSO ON   | 2.63   78.0 id  |  5.67   39.0% id  |
      	--------------------------------------------------
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f83ef8c0
    • H
      [IPV6]: Added GSO support for TCPv6 · adcfc7d0
      Herbert Xu 提交于
      This patch adds GSO support for IPv6 and TCPv6.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      adcfc7d0