From owner-cvs-all@FreeBSD.ORG Fri May 13 11:44:37 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D963F16A4CE; Fri, 13 May 2005 11:44:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B04A143D3F; Fri, 13 May 2005 11:44:37 +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 j4DBibT9064851; Fri, 13 May 2005 11:44:37 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4DBibiE064850; Fri, 13 May 2005 11:44:37 GMT (envelope-from glebius) Message-Id: <200505131144.j4DBibiE064850@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 13 May 2005 11:44:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_divert.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 11:44:38 -0000 glebius 2005-05-13 11:44:37 UTC FreeBSD src repository Modified files: sys/netinet ip_divert.c Log: In div_output() explicitly set m->m_nextpkt to NULL. If divert socket is not userland, but ng_ksocket, then m->m_nextpkt may be non-NULL. In this case we would panic in sbappend. Revision Changes Path 1.113 +5 -0 src/sys/netinet/ip_divert.c