cvs commit: src/sys/net if_gif.c if_spppsubr.c src/sys/netinet icmp6.h ip_carp.c ip_fw2.c tcp_subr.c tcp_usrreq.c src/sys/netinet6 ah_core.c icmp6.c in6.c in6.h in6_cksum.c in6_ifattach.c in6_pcb.c in6_proto.c in6_src.c in6_var.h ...

Hajimu UMEMOTO ume at FreeBSD.org
Fri Nov 4 12:26:17 PST 2005


ume         2005-11-04 20:26:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_gif.c if_spppsubr.c 
    sys/netinet          icmp6.h ip_carp.c ip_fw2.c tcp_subr.c 
                         tcp_usrreq.c 
    sys/netinet6         ah_core.c icmp6.c in6.c in6.h in6_cksum.c 
                         in6_ifattach.c in6_pcb.c in6_proto.c 
                         in6_src.c in6_var.h ip6_forward.c 
                         ip6_input.c ip6_mroute.c ip6_output.c 
                         ip6_var.h ipsec.c mld6.c nd6.c nd6_nbr.c 
                         nd6_rtr.c raw_ip6.c route6.c scope6.c 
                         scope6_var.h udp6_output.c udp6_usrreq.c 
    sys/netkey           key.c 
  Log:
  MFC: scope cleanup.  with this change
  - most of the kernel code will not care about the actual encoding of
    scope zone IDs and won't touch "s6_addr16[1]" directly.
  - similarly, most of the kernel code will not care about link-local
    scoped addresses as a special case.
  - scope boundary check will be stricter.  For example, the current
    *BSD code allows a packet with src=::1 and dst=(some global IPv6
    address) to be sent outside of the node, if the application do:
      s = socket(AF_INET6);
      bind(s, "::1");
      sendto(s, some_global_IPv6_addr);
    This is clearly wrong, since ::1 is only meaningful within a single
    node, but the current implementation of the *BSD kernel cannot
    reject this attempt.
  
          sys/net/if_gif.c:               1.53
          sys/net/if_spppsubr.c:          1.120
          sys/netinet/icmp6.h:            1.19
          sys/netinet/ip_carp.c:          1.28,1.29
          sys/netinet/ip_fw2.c:           1.107
          sys/netinet/tcp_subr.c:         1.230,1.231,1.235
          sys/netinet/tcp_usrreq.c:       1.125
          sys/netinet6/ah_core.c:         1.26
          sys/netinet6/icmp6.c:           1.63,1.64
          sys/netinet6/in6.c:             1.52
          sys/netinet6/in6.h:             1.38
          sys/netinet6/in6_cksum.c:       1.11
          sys/netinet6/in6_ifattach.c:    1.27
          sys/netinet6/in6_pcb.c:         1.63
          sys/netinet6/in6_proto.c:       1.33
          sys/netinet6/in6_src.c:         1.31,1.32
          sys/netinet6/in6_var.h:         1.22
          sys/netinet6/ip6_forward.c:     1.29
          sys/netinet6/ip6_input.c:       1.83
          sys/netinet6/ip6_mroute.c:      1.30
          sys/netinet6/ip6_output.c:      1.95
          sys/netinet6/ip6_var.h:         1.33
          sys/netinet6/ipsec.c:           1.43
          sys/netinet6/mld6.c:            1.21
          sys/netinet6/nd6.c:             1.50
          sys/netinet6/nd6_nbr.c:         1.30
          sys/netinet6/nd6_rtr.c:         1.27
          sys/netinet6/raw_ip6.c:         1.54
          sys/netinet6/route6.c:          1.12
          sys/netinet6/scope6.c:          1.13,1.14,1.15
          sys/netinet6/scope6_var.h:      1.5
          sys/netinet6/udp6_output.c:     1.23
          sys/netinet6/udp6_usrreq.c:     1.55
          sys/netkey/key.c:               1.72,1.73
  
  Revision   Changes    Path
  1.52.2.2   +25 -0     src/sys/net/if_gif.c
  1.119.2.2  +6 -2      src/sys/net/if_spppsubr.c
  1.16.2.3   +1 -0      src/sys/netinet/icmp6.h
  1.27.2.3   +18 -18    src/sys/netinet/ip_carp.c
  1.106.2.4  +3 -0      src/sys/netinet/ip_fw2.c
  1.228.2.5  +13 -14    src/sys/netinet/tcp_subr.c
  1.124.2.2  +2 -0      src/sys/netinet/tcp_usrreq.c
  1.25.2.1   +1 -0      src/sys/netinet6/ah_core.c
  1.62.2.1   +100 -102  src/sys/netinet6/icmp6.c
  1.51.2.3   +186 -135  src/sys/netinet6/in6.c
  1.36.2.3   +1 -0      src/sys/netinet6/in6.h
  1.10.2.1   +19 -12    src/sys/netinet6/in6_cksum.c
  1.26.2.2   +8 -5      src/sys/netinet6/in6_ifattach.c
  1.62.2.1   +39 -40    src/sys/netinet6/in6_pcb.c
  1.32.2.2   +2 -0      src/sys/netinet6/in6_proto.c
  1.30.2.2   +115 -234  src/sys/netinet6/in6_src.c
  1.21.2.2   +0 -5      src/sys/netinet6/in6_var.h
  1.28.2.2   +36 -9     src/sys/netinet6/ip6_forward.c
  1.81.2.2   +19 -63    src/sys/netinet6/ip6_input.c
  1.29.2.3   +17 -14    src/sys/netinet6/ip6_mroute.c
  1.90.2.6   +212 -242  src/sys/netinet6/ip6_output.c
  1.30.2.4   +4 -1      src/sys/netinet6/ip6_var.h
  1.42.2.1   +18 -8     src/sys/netinet6/ipsec.c
  1.19.2.3   +52 -41    src/sys/netinet6/mld6.c
  1.48.2.5   +49 -46    src/sys/netinet6/nd6.c
  1.29.2.3   +109 -52   src/sys/netinet6/nd6_nbr.c
  1.26.2.1   +0 -2      src/sys/netinet6/nd6_rtr.c
  1.50.2.6   +81 -67    src/sys/netinet6/raw_ip6.c
  1.11.2.1   +19 -4     src/sys/netinet6/route6.c
  1.12.2.1   +175 -74   src/sys/netinet6/scope6.c
  1.4.2.1    +4 -0      src/sys/netinet6/scope6_var.h
  1.19.2.4   +49 -15    src/sys/netinet6/udp6_output.c
  1.54.2.1   +5 -0      src/sys/netinet6/udp6_usrreq.c
  1.71.2.2   +43 -28    src/sys/netkey/key.c


More information about the cvs-all mailing list