cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c ng_socketvar.h

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Tue Jul 5 18:25:23 GMT 2005


Gleb,

i took a brief look at the code, and, i think, everything should be
fine. as stated in the commit message EINPROGRESS can only be returned
if sender asked for it, i.e. passed the NG_PROGRESS flag to the
ng_snd_item(). since none of the NG_SEND_MSG_HOOK(),
NG_SEND_MSG_PATH(), NG_SEND_MSG_ID(), NG_FWD_MSG_HOOK() and
NG_RESPOND_MSG() macros pass the NG_PROGRESS flag to the ng_snd_item()
then this change should have no effect of the current code.

sorry for the noise, i just wanted to make sure we do not have change
existing code to check for EINPROGRESS error.

thanks,
max

On 7/5/05, Gleb Smirnoff <glebius at freebsd.org> wrote:
> On Tue, Jul 05, 2005 at 10:01:54PM +0400, Gleb Smirnoff wrote:
> T> It can affect userland code. But only if there are some errors in code.
> 
> I mean: it can affect userland programs, if there are erros in kernel side.
> In this commit, or in related code. If everything is correct, it won't
> affect anything.
> 
> I run mpd for several weeks with this patch.
> 
> --
> Totus tuus, Glebius.
> GLEBIUS-RIPN GLEB-RIPE
>


More information about the cvs-src mailing list