1. 23 9月, 2006 9 次提交
  2. 21 9月, 2006 3 次提交
  3. 18 9月, 2006 2 次提交
  4. 01 9月, 2006 1 次提交
  5. 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
  6. 27 8月, 2006 1 次提交
  7. 18 8月, 2006 2 次提交
  8. 14 8月, 2006 2 次提交
  9. 10 8月, 2006 1 次提交
  10. 03 8月, 2006 11 次提交
  11. 26 7月, 2006 1 次提交
  12. 25 7月, 2006 2 次提交
  13. 22 7月, 2006 2 次提交
  14. 13 7月, 2006 1 次提交
    • H
      [IPCOMP]: Fix truesize after decompression · da952315
      Herbert Xu 提交于
      The truesize check has uncovered the fact that we forgot to update truesize
      after pskb_expand_head.  Unfortunately pskb_expand_head can't update it for
      us because it's used in all sorts of different contexts, some of which would
      not allow truesize to be updated by itself.
      
      So the solution for now is to simply update it in IPComp.
      
      This patch also changes skb_put to __skb_put since we've just expanded
      tailroom by exactly that amount so we know it's there (but gcc does not).
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      da952315