[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.149.2.3 and 1.149.2.4

version 1.149.2.3, 2018/02/25 23:17:47 version 1.149.2.4, 2019/09/17 18:07:15
Line 352  ip6_input(struct mbuf *m)
Line 352  ip6_input(struct mbuf *m)
                         return;                          return;
                 if (m == NULL)                  if (m == NULL)
                         return;                          return;
                   if (__predict_false(m->m_len < sizeof(struct ip6_hdr))) {
                           struct ifnet *inifp = m->m_pkthdr.rcvif;
                           if ((m = m_pullup(m, sizeof(struct ip6_hdr))) == NULL) {
                                   IP6_STATINC(IP6_STAT_TOOSMALL);
                                   in6_ifstat_inc(inifp, ifs6_in_hdrerr);
                                   return;
                           }
                   }
                 ip6 = mtod(m, struct ip6_hdr *);                  ip6 = mtod(m, struct ip6_hdr *);
                 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst);                  srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst);
         }          }

Legend:
Removed from v.1.149.2.3  
changed lines
  Added in v.1.149.2.4

CVSweb <webmaster@jp.NetBSD.org>