svn commit: r271182 - head/sys/kern
Gleb Smirnoff
glebius at FreeBSD.org
Sun Sep 7 05:44:47 UTC 2014
On Fri, Sep 05, 2014 at 09:54:11PM +0200, Mateusz Guzik wrote:
M> > + CURVNET_SET(so->so_vnet);
M> > if (V_socket_hhh[HHOOK_FILT_SOREAD]->hhh_nhooks > 0)
M> > /* This hook returning non-zero indicates an event, not error */
M> > return (hhook_run_socket(so, NULL, HHOOK_FILT_SOREAD));
M> > + CURVNET_RESTORE();
M> >
M>
M> should not this be something like:
M> error = hhook_run_socket(so, NULL, HHOOK_FILT_SOREAD);
M> CURVNET_RESTORE();
M> return (error);
M> ?
Thanks, Mateusz. Fixed.
--
Totus tuus, Glebius.
More information about the svn-src-all
mailing list