svn commit: r283850 - stable/9/sys/netipsec
Andrey V. Elsukov
ae at FreeBSD.org
Sun May 31 22:51:17 UTC 2015
Author: ae
Date: Sun May 31 22:51:16 2015
New Revision: 283850
URL: https://svnweb.freebsd.org/changeset/base/283850
Log:
MFC r283117:
Remove unneded mbuf length adjustment, M_PREPEND() already did that.
PR: 139387
Modified:
stable/9/sys/netipsec/keysock.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netipsec/keysock.c
==============================================================================
--- stable/9/sys/netipsec/keysock.c Sun May 31 22:49:32 2015 (r283849)
+++ stable/9/sys/netipsec/keysock.c Sun May 31 22:51:16 2015 (r283850)
@@ -148,8 +148,6 @@ key_sendup0(rp, m, promisc)
PFKEYSTAT_INC(in_nomem);
return (ENOBUFS);
}
- m->m_pkthdr.len += sizeof(*pmsg); /* XXX: is this correct? */
-
pmsg = mtod(m, struct sadb_msg *);
bzero(pmsg, sizeof(*pmsg));
pmsg->sadb_msg_version = PF_KEY_V2;
More information about the svn-src-stable-9
mailing list