On Mon, May 21, 2018 at 6:15 AM, Jonathan Looney wrote:
> On Sat, May 19, 2018 at 10:27 PM, Matt Macy 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?
It a
On Sat, May 19, 2018 at 10:27 PM, Matt Macy 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
___
svn-src-all@fr
Author: mmacy
Date: Sun May 20 02:27:58 2018
New Revision: 333911
URL: https://svnweb.freebsd.org/changeset/base/333911
Log:
inpcb: consolidate possible deletion in pcblist functions in to epoch
deferred context.
Modified:
head/sys/netinet/ip_divert.c
head/sys/netinet/raw_ip.c
head/sys/