mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Remove duplicate check.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
This commit is contained in:
parent
c0722d20d3
commit
2c2e2be746
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239007
@ -562,7 +562,7 @@ ng_pptpgre_xmit(hpriv_p hpriv, item_p item)
|
||||
}
|
||||
|
||||
/* 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user