In article <20180108232325.522d0f...@cvs.netbsd.org>,
Kengo NAKAHARA <source-changes-d@NetBSD.org> wrote:
>       size_t hash;
> 
>+      printf("XXXX %s: enter\n", __func__);
>+
>       ip6 = mtod(m, const struct ip6_hdr *);
> 
>       KERNEL_LOCK_UNLESS_NET_MPSAFE();
>@@ -571,8 +573,12 @@ ip6flow_create(struct route *ro, struct 
>        *
>        * Don't create a flow for ICMPv6 messages.
>        */
>-      if (ip6_maxflows == 0 || ip6->ip6_nxt == IPPROTO_IPV6_ICMP)
>+      if (ip6_maxflows == 0 || ip6->ip6_nxt == IPPROTO_IPV6_ICMP) {
>+              printf("XXXX %s: icmp skip\n", __func__);
>               goto out;
>+      }
>+
>+      printf("XXXX %s: ip6->ip6_nxt=%d\n", __func__, ip6->ip6_nxt);
> 
>       /*
>        * See if an existing flow exists.  If so:
>

These look like an accident.

christos

Reply via email to