svn commit: r243953 - stable/9/sys/netgraph
Alexander Motin
mav at FreeBSD.org
Thu Dec 6 18:35:01 UTC 2012
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);
}
More information about the svn-src-stable-9
mailing list