Subject: Re: CVS commit: src/sys/netkey
To: None <itojun@itojun.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 06/01/2004 08:26:24
> > > - still leaks mbufs in the cases of ENOBUF?
> >
> > no, we loss "m" due to pullup.
>
> m will be lost, but m->m_nextpkt isn't.
it seems that you already fixed it. sorry for noise.
however, with keysock.c rev.1.34,
kp_queue will be stamped in the case of !canwait && ENOBUFS.
i think that it's better to always consult kp_queue first.
(ie. "if (canwait)" -> "if (1)".)
YAMAMOTO Takashi