diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-12-10 21:29:11 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-12-10 21:29:11 +0000 |
commit | 5e0ad382488cbf7746224e17027495b4d8d05cbb (patch) | |
tree | 2eaf0c4e20f686357428890d2f9b764b0f12200a /sys/netinet6 | |
parent | 0b108b96037a89413e3343dc43a4e0ecdbf27e22 (diff) |
`dp' was just allocated with M_ZERO flag, so the following bzero(3) is not
required.
ok kn@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 3 |
1 files changed, 1 insertions, 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++; |