Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 18:41:53 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r243954 - stable/8/sys/netgraph
Message-ID:  <201212061841.qB6Ifri3012092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Dec  6 18:41:53 2012
New Revision: 243954
URL: http://svnweb.freebsd.org/changeset/base/243954

Log:
  MFC r239007:
  Remove duplicate check.

Modified:
  stable/8/sys/netgraph/ng_pptpgre.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/netgraph/   (props changed)

Modified: stable/8/sys/netgraph/ng_pptpgre.c
==============================================================================
--- stable/8/sys/netgraph/ng_pptpgre.c	Thu Dec  6 18:35:00 2012	(r243953)
+++ stable/8/sys/netgraph/ng_pptpgre.c	Thu Dec  6 18:41:53 2012	(r243954)
@@ -564,7 +564,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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212061841.qB6Ifri3012092>