Source-Changes-D archive

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

Re: CVS commit: src/sys



Le 09/02/2018 à 01:03, maya%netbsd.org@localhost a écrit :
On Thu, Feb 08, 2018 at 07:58:05PM +0000, Maxime Villard wrote:
Module Name:	src
Committed By:	maxv
Date:		Thu Feb  8 19:58:05 UTC 2018

Modified Files:
	src/sys/netinet: tcp_input.c
	src/sys/netinet6: raw_ip6.c udp6_usrreq.c

Log Message:
Remove the IN6_IS_ADDR_V4MAPPED checks in the protocol functions. They
are useless, because the IPv6 entry point (ip6_input) already performs
them.

in6_input performs the check pretty late - is feeding possibly malformed
packets to pfil_run_hooks / altq_cdnr_input safe?

investigating this is in my todo list... if you look carefully you can see
that pfil_run_hooks is allowed to update ip6_dst, so it may not be correct to
move the checks earlier


Home | Main Index | Thread Index | Old Index