[BACK]Return to ip6_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/ip6_input.c between version 1.83.4.1 and 1.89

version 1.83.4.1, 2006/05/24 15:50:45 version 1.89, 2006/10/12 01:32:39
Line 189  ip6_init()
Line 189  ip6_init()
 }  }
   
 static void  static void
 ip6_init2(dummy)  ip6_init2(void *dummy __unused)
         void *dummy;  
 {  {
   
         /* nd6_timer_init */          /* nd6_timer_init */
Line 410  ip6_input(m)
Line 409  ip6_input(m)
          * dst are the loopback address and the receiving interface           * dst are the loopback address and the receiving interface
          * is not loopback.           * is not loopback.
          */           */
           if (__predict_false(
               m_makewritable(&m, 0, sizeof(struct ip6_hdr), M_DONTWAIT)))
                   goto bad;
           ip6 = mtod(m, struct ip6_hdr *);
         if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) {          if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) {
                 ip6stat.ip6s_badscope++; /* XXX */                  ip6stat.ip6s_badscope++; /* XXX */
                 goto bad;                  goto bad;

Legend:
Removed from v.1.83.4.1  
changed lines
  Added in v.1.89

CVSweb <webmaster@jp.NetBSD.org>