Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 09:15:42 -0400
From:      Jonathan Looney <jonlooney@gmail.com>
To:        Matt Macy <mmacy@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r333911 - head/sys/netinet
Message-ID:  <CADrOrmsP6e_nepCzv__qeknPPy7evB%2Bgbb5pbU_-z6Lurs7nCg@mail.gmail.com>
In-Reply-To: <201805200227.w4K2Rwhh007423@repo.freebsd.org>
References:  <201805200227.w4K2Rwhh007423@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 19, 2018 at 10:27 PM, Matt Macy <mmacy@freebsd.org> wrote:

> +       il = malloc(sizeof(struct in_pcblist) + n * sizeof(struct inpcb
> *), M_TEMP, M_WAITOK|M_ZERO);
> +       inp_list = il->il_inp_list;
>

Why does this need M_ZERO?

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADrOrmsP6e_nepCzv__qeknPPy7evB%2Bgbb5pbU_-z6Lurs7nCg>