Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 17:20:28 +0300
From:      Roman Kurakin <rik@cronyx.ru>
To:        freebsd-net@FreeBSD.org
Subject:   BUG, sppp, FreeBSD 5.x 6.x
Message-ID:  <3E28112C.6020102@cronyx.ru>

next in thread | raw e-mail | index | archive | help
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




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