From owner-svn-src-stable-9@FreeBSD.ORG Thu Dec 6 18:35:01 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5825C414; Thu, 6 Dec 2012 18:35:01 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3BAB78FC18; Thu, 6 Dec 2012 18:35:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB6IZ1xK010580; Thu, 6 Dec 2012 18:35:01 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB6IZ18d010579; Thu, 6 Dec 2012 18:35:01 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201212061835.qB6IZ18d010579@svn.freebsd.org> From: Alexander Motin Date: Thu, 6 Dec 2012 18:35:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r243953 - stable/9/sys/netgraph X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 18:35:01 -0000 Author: mav Date: Thu Dec 6 18:35:00 2012 New Revision: 243953 URL: http://svnweb.freebsd.org/changeset/base/243953 Log: MFC r239007: Remove duplicate check. Modified: stable/9/sys/netgraph/ng_pptpgre.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/netgraph/ng_pptpgre.c ============================================================================== --- stable/9/sys/netgraph/ng_pptpgre.c Thu Dec 6 18:23:23 2012 (r243952) +++ stable/9/sys/netgraph/ng_pptpgre.c Thu Dec 6 18:35:00 2012 (r243953) @@ -562,7 +562,7 @@ ng_pptpgre_xmit(hpriv_p hpriv, item_p it } /* Sanity check frame length */ - if (m != NULL && m->m_pkthdr.len > PPTP_MAX_PAYLOAD) { + if (m->m_pkthdr.len > PPTP_MAX_PAYLOAD) { priv->stats.xmitTooBig++; ERROUT(EMSGSIZE); }