Date: Fri, 6 Aug 2010 11:49:52 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet if_ether.c src/sys/netinet6 nd6.c Message-ID: <201008061150.o76BoWNR074248@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-08-06 11:49:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet if_ether.c sys/netinet6 nd6.c Log: SVN rev 210928 on 2010-08-06 11:49:52Z by bz MFC r210703: Document the mandatory argument to the arptimer() and nd6_llinfo_timer() functions with a KASSERT(). Note: there is no need to return after panic. In the legacy IP case, only assign the arg after the check, in the IPv6 case, remove the extra checks for the table and interface as they have to be there unless we freed and forgot to cancel the timer. It doesn't matter anyway as we would panic on the NULL pointer deref immediately and the bug is elsewhere. This unifies the code of both address families to some extend. Reviewed by: rwatson Revision Changes Path 1.208.2.12 +3 -5 src/sys/netinet/if_ether.c 1.123.2.11 +2 -7 src/sys/netinet6/nd6.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008061150.o76BoWNR074248>