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);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to