From 038092c1244a321dd0447b5e1f6f8223ef2d5fc3 Mon Sep 17 00:00:00 2001 From: mvs Date: Sat, 10 Dec 2022 21:29:10 +0000 Subject: [PATCH] `dp' was just allocated with M_ZERO flag, so the following bzero(3) is not required. ok kn@ --- sys/netinet6/nd6_nbr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index 0c1ae3d0384..6dffeda99b6 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6_nbr.c,v 1.140 2022/12/10 21:26:21 kn Exp $ */ +/* $OpenBSD: nd6_nbr.c,v 1.141 2022/12/10 21:29:10 mvs Exp $ */ /* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */ /* @@ -1099,7 +1099,6 @@ nd6_dad_start(struct ifaddr *ifa) ifa->ifa_ifp ? ifa->ifa_ifp->if_xname : "???"); return; } - bzero(&dp->dad_timer_ch, sizeof(dp->dad_timer_ch)); TAILQ_INSERT_TAIL(&dadq, dp, dad_list); ip6_dad_pending++; -- 2.20.1