Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



In article <20180108232325.522D0FBDF%cvs.NetBSD.org@localhost>,
Kengo NAKAHARA <source-changes-d%NetBSD.org@localhost> 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



Home | Main Index | Thread Index | Old Index