Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 18:38:07 +0300
From:      Roman Kurakin <rik@cronyx.ru>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        freebsd-net@FreeBSD.org, joerg@FreeBSD.org
Subject:   Re: BUG, sppp, FreeBSD 5.x 6.x
Message-ID:  <3E4D0D5F.9060902@cronyx.ru>
References:  <3E28112C.6020102@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Kurakin wrote:

> Hi,
>
>    splx was lost
>
> --- if_spppsubr.c.orig  Fri Jan 17 17:04:49 2003
> +++ if_spppsubr.c       Fri Jan 17 17:05:53 2003
> @@ -973,15 +973,17 @@
>                splx (s);
>                return (EAFNOSUPPORT);
>        }
>
>        /*
>         * Queue message on interface, and start output if interface
>         * not yet active.
>         */
>        if (! IF_HANDOFF_ADJ(ifq, m, ifp, 3)) {
>                ++ifp->if_oerrors;
> +               splx (s);
>                return (rv? rv: ENOBUFS);
>        }
> +       splx (s);
>        /*
>         * Unlike in sppp_input(), we can always bump the timestamp
>         * here since sppp_output() is only called on behalf of
>
> Best regards,
>                        Roman Kurakin
>
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>
>






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4D0D5F.9060902>