Source-Changes-D archive

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

Re: CVS commit: src/sys



Hi,

On 2018/01/09 8:27, Christos Zoulas wrote:
> 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.

Yes. Sorry, I revert the wrong modifications and re-commit the fix.


Thanks,

-- 
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.

Device Engineering Section,
IoT Platform Development Department,
Network Division,
Technology Unit

Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>


Home | Main Index | Thread Index | Old Index