misc/101333: kernel ppp (if_ppp) doesn't use any compression except VJ

Igor Popov igorpopov at newmail.ru
Thu Aug 3 21:20:17 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list