[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.207 and 1.208

version 1.207, 2019/01/17 02:47:15 version 1.208, 2019/05/13 07:47:59
Line 348  ip6_input(struct mbuf *m, struct ifnet *
Line 348  ip6_input(struct mbuf *m, struct ifnet *
 #endif  #endif
         {          {
                 struct in6_addr odst;                  struct in6_addr odst;
                   int error;
   
                 odst = ip6->ip6_dst;                  odst = ip6->ip6_dst;
                 if (pfil_run_hooks(inet6_pfil_hook, &m, rcvif, PFIL_IN) != 0)                  error = pfil_run_hooks(inet6_pfil_hook, &m, rcvif, PFIL_IN);
                         return;                  if (error != 0 || m == NULL) {
                 if (m == NULL)                          IP6_STATINC(IP6_STAT_PFILDROP_IN);
                         return;                          return;
                   }
                 KASSERT(m->m_len >= sizeof(struct ip6_hdr));                  KASSERT(m->m_len >= sizeof(struct ip6_hdr));
                 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.207  
changed lines
  Added in v.1.208

CVSweb <webmaster@jp.NetBSD.org>