From owner-cvs-all Sun Dec 30 8:13:57 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9095137B448; Sun, 30 Dec 2001 08:13:35 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBUGDZY58062; Sun, 30 Dec 2001 08:13:35 -0800 (PST) (envelope-from joerg) Message-Id: <200112301613.fBUGDZY58062@freefall.freebsd.org> From: Joerg Wunsch Date: Sun, 30 Dec 2001 08:13:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_spppsubr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joerg 2001/12/30 08:13:35 PST Modified files: sys/net if_spppsubr.c Log: Fix the handling of VJ uncompression. Unfortunately, tcp_uncompress() makes the implied assumption there were another 128 bytes of space in front of the packet handed off to it... which is not the case for sppp. This could easily end up in corrupting random memory. This fix is about the same as revs 1.6, 1.8, and 1.9 from our i4b_ispppsubr.c. Also fixed IPCP option negotiation to zero out the options when starting IPCP. Otherwise, if negotiation parameters change between various IPCP startups, it could happen that old options would still be requested (this happened if VJ was turned off, and ended up in half off the link still negotiating for VJ compression). IMHO, the base system's sppp is now feature-wise up to date with the one in the i4b part of the tree, so the latter can be disabled. MFC after: 1 month Revision Changes Path 1.83 +39 -14 src/sys/net/if_spppsubr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message