1. 04 8月, 2008 1 次提交
  2. 01 8月, 2008 1 次提交
  3. 26 7月, 2008 1 次提交
  4. 20 7月, 2008 1 次提交
  5. 03 7月, 2008 2 次提交
  6. 20 6月, 2008 1 次提交
  7. 12 6月, 2008 1 次提交
  8. 13 5月, 2008 1 次提交
  9. 12 4月, 2008 1 次提交
    • Y
      [IPV6]: Make address arguments const. · 9acd9f3a
      YOSHIFUJI Hideaki 提交于
      - net/ipv6/addrconf.c:
      	ipv6_get_ifaddr(), ipv6_dev_get_saddr()
      - net/ipv6/mcast.c:
      	ipv6_sock_mc_join(), ipv6_sock_mc_drop(),
      	inet6_mc_check(),
      	ipv6_dev_mc_inc(), __ipv6_dev_mc_dec(), ipv6_dev_mc_dec(),
      	ipv6_chk_mcast_addr()
      - net/ipv6/route.c:
      	rt6_lookup(), icmp6_dst_alloc()
      - net/ipv6/ip6_output.c:
      	ip6_nd_hdr()
      - net/ipv6/ndisc.c:
      	ndisc_send_ns(), ndisc_send_rs(), ndisc_send_redirect(),
      	ndisc_get_neigh(), __ndisc_send()
      Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      9acd9f3a
  10. 05 4月, 2008 1 次提交
  11. 26 3月, 2008 2 次提交
  12. 25 3月, 2008 3 次提交
  13. 08 3月, 2008 1 次提交
  14. 06 3月, 2008 2 次提交
  15. 04 3月, 2008 1 次提交
  16. 29 2月, 2008 1 次提交
  17. 15 2月, 2008 1 次提交
  18. 13 2月, 2008 1 次提交
    • H
      [IPV6]: Fix IPsec datagram fragmentation · 28a89453
      Herbert Xu 提交于
      This is a long-standing bug in the IPsec IPv6 code that breaks
      when we emit a IPsec tunnel-mode datagram packet.  The problem
      is that the code the emits the packet assumes the IPv6 stack
      will fragment it later, but the IPv6 stack assumes that whoever
      is emitting the packet is going to pre-fragment the packet.
      
      In the long term we need to fix both sides, e.g., to get the
      datagram code to pre-fragment as well as to get the IPv6 stack
      to fragment locally generated tunnel-mode packet.
      
      For now this patch does the second part which should make it
      work for the IPsec host case.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      28a89453
  19. 01 2月, 2008 2 次提交
  20. 29 1月, 2008 7 次提交
  21. 23 1月, 2008 1 次提交
  22. 07 12月, 2007 1 次提交
  23. 07 11月, 2007 1 次提交
  24. 24 10月, 2007 1 次提交
  25. 16 10月, 2007 1 次提交
    • P
      [IPV6]: Uninline netfilter okfns · ad643a79
      Patrick McHardy 提交于
      Uninline netfilter okfns for those cases where gcc can generate tail-calls.
      
      Before:
         text    data     bss     dec     hex filename
      8994153 1016524  524652 10535329         a0c1a1 vmlinux
      
      After:
         text    data     bss     dec     hex filename
      8992761 1016524  524652 10533937         a0bc31 vmlinux
      -------------------------------------------------------
        -1392
      
      All cases have been verified to generate tail-calls with and without netfilter.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ad643a79
  26. 11 10月, 2007 2 次提交
    • D
      [IPV6]: Add ICMPMsgStats MIB (RFC 4293) [rev 2] · 14878f75
      David L Stevens 提交于
      Background: RFC 4293 deprecates existing individual, named ICMP
      type counters to be replaced with the ICMPMsgStatsTable. This table
      includes entries for both IPv4 and IPv6, and requires counting of all
      ICMP types, whether or not the machine implements the type.
      
      These patches "remove" (but not really) the existing counters, and
      replace them with the ICMPMsgStats tables for v4 and v6.
      It includes the named counters in the /proc places they were, but gets the
      values for them from the new tables. It also counts packets generated
      from raw socket output (e.g., OutEchoes, MLD queries, RA's from
      radvd, etc).
      
      Changes:
      1) create icmpmsg_statistics mib
      2) create icmpv6msg_statistics mib
      3) modify existing counters to use these
      4) modify /proc/net/snmp to add "IcmpMsg" with all ICMP types
              listed by number for easy SNMP parsing
      5) modify /proc/net/snmp printing for "Icmp" to get the named data
              from new counters.
      [new to 2nd revision]
      6) support per-interface ICMP stats
      7) use common macro for per-device stat macros
      Signed-off-by: NDavid L Stevens <dlstevens@us.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      14878f75
    • M
      [IPV6] IPSEC: Omit redirect for tunnelled packet. · 1e5dc146
      Masahide NAKAMURA 提交于
      IPv6 IPsec tunnel gateway incorrectly sends redirect to
      router or sender when network device the IPsec tunnelled packet
      is arrived is the same as the one the decapsulated packet
      is sent.
      
      With this patch, it omits to send the redirect when the forwarding
      skbuff carries secpath, since such skbuff should be assumed as
      a decapsulated packet from IPsec tunnel by own.
      
      It may be a rare case for an IPsec security gateway, however
      it is not rare when the gateway is MIPv6 Home Agent since
      the another tunnel end-point is Mobile Node and it changes
      the attached network.
      Signed-off-by: NMasahide NAKAMURA <nakam@linux-ipv6.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1e5dc146
  27. 11 9月, 2007 1 次提交
    • Y
      [IPv6]: Fix NULL pointer dereference in ip6_flush_pending_frames · e1f52208
      YOSHIFUJI Hideaki 提交于
      Some of skbs in sk->write_queue do not have skb->dst because
      we do not fill skb->dst when we allocate new skb in append_data().
      
      BTW, I think we may not need to (or we should not) increment some stats
      when using corking; if 100 sendmsg() (with MSG_MORE) result in 2 packets,
      how many should we increment?
      
      If 100, we should set skb->dst for every queued skbs.
      
      If 1 (or 2 (*)), we increment the stats for the first queued skb and
      we should just skip incrementing OutDiscards for the rest of queued skbs,
      adn we should also impelement this semantics in other places;
      e.g., we should increment other stats just once, not 100 times.
      
      *: depends on the place we are discarding the datagram.
      
      I guess should just increment by 1 (or 2).
      Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e1f52208