From owner-cvs-src@FreeBSD.ORG Wed Aug 10 13:59:45 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D78C16A41F; Wed, 10 Aug 2005 13:59:45 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387A643D48; Wed, 10 Aug 2005 13:59:45 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7ADxjIo035073; Wed, 10 Aug 2005 13:59:45 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7ADxjvi035072; Wed, 10 Aug 2005 13:59:45 GMT (envelope-from glebius) Message-Id: <200508101359.j7ADxjvi035072@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 10 Aug 2005 13:59:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/sys/net ppp_tty.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 13:59:45 -0000 glebius 2005-08-10 13:59:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/net ppp_tty.c Log: MFC 1.66: Use m_uiotombuf() instead of own implementation. This is not just a cosmetic change. m_uiotombuf() produces a packet header mbuf, while original implementation did not. When kernel is compiled with MAC support, headerless mbuf will cause panic. Reported by: Alexander Nikiforenko Reported by: Andrew Korovin PR: kern/77111 Revision Changes Path 1.61.2.2 +10 -25 src/sys/net/ppp_tty.c