Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 21:13:10 GMT
From:      Igor Popov <igorpopov@newmail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/101333: kernel ppp (if_ppp) doesn't use any compression except VJ
Message-ID:  <200608032113.k73LDAoT061372@www.freebsd.org>
Resent-Message-ID: <200608032120.k73LKGf2029014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101333
>Category:       misc
>Synopsis:       kernel ppp (if_ppp) doesn't use any compression except VJ
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 21:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Igor Popov
>Release:        6.0 and 6.1
>Organization:
>Environment:
FreeBSD moon.wbt.ru 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Mon Jul 10 16:47:52 EEST 2006     toor@moon.wbt.ru:/usr/obj/usr/src/sys/SUPERKERNEL  i386

>Description:
kernel ppp (if_ppp) doesn't use any compression except VJ, it can't find any compress module
>How-To-Repeat:
just try to setup ppp connection
>Fix:
Taken from NetBSD

--- /sys/net/if_ppp.c	Sun Apr 23 14:19:48 2006
+++ if_ppp.c	Sun Jun 25 13:36:58 2006
@@ -560,7 +560,7 @@
 		    sc->sc_flags &= ~SC_DECOMP_RUN;
 		    splx(s);
 		}
-		break;
+		return error;
 	    }
 	if (sc->sc_flags & SC_DEBUG)
 	    if_printf(PPP2IFP(sc), "no compressor for [%x %x %x], %x\n",
		    
>Release-Note:
>Audit-Trail:
>Unformatted:



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