From owner-freebsd-net Fri Jan 17 6:20:11 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D0337B401 for ; Fri, 17 Jan 2003 06:20:09 -0800 (PST) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id A76CA43E4A for ; Fri, 17 Jan 2003 06:20:07 -0800 (PST) (envelope-from rik@cronyx.ru) Received: by hanoi.cronyx.ru id RAA31599 for freebsd-net@FreeBSD.org.checked; (8.9.3/vak/2.1) Fri, 17 Jan 2003 17:17:02 +0300 (MSK) (envelope-from rik@cronyx.ru) Received: from cronyx.ru by hanoi.cronyx.ru with ESMTP id RAA31506 for ; (8.9.3/vak/2.1) Fri, 17 Jan 2003 17:14:21 +0300 (MSK) (envelope-from rik@cronyx.ru) Message-ID: <3E28112C.6020102@cronyx.ru> Date: Fri, 17 Jan 2003 17:20:28 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@FreeBSD.org Subject: BUG, sppp, FreeBSD 5.x 6.x Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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