diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2004-09-30 00:49:55 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2004-09-30 00:49:55 +0000 |
commit | dbfb9a4ee6a540606fc8f4f3aa4972cee317952d (patch) | |
tree | 74388429e2c1cd4eceda28772a1edb9dc525c435 /sys/netkey/key.c | |
parent | 34ed91b45be43438c9799dda81ca4f4ed11426fa (diff) | |
download | src-dbfb9a4ee6a540606fc8f4f3aa4972cee317952d.tar.gz src-dbfb9a4ee6a540606fc8f4f3aa4972cee317952d.zip |
Merge netipsec/key.c:1.17 into KAME pfkey implementation:
date: 2004/09/26 02:01:27; author: sam; state: Exp; lines: +0 -5
Correct handling of SADB_UPDATE and SADB_ADD requests. key_align may
split the mbuf due to use of m_pulldown. Discarding the result because
of this does not make sense as no subsequent code depends on the entire
msg being linearized (only the individual pieces). It's likely
something else is wrong here but for now this appears to get things back
to a working state.
Submitted by: Roselyn Lee
This change was also made in the KAME CVS repository as key.c:1.337 by
itojun.
Notes
Notes:
svn path=/head/; revision=135946
Diffstat (limited to 'sys/netkey/key.c')
-rw-r--r-- | sys/netkey/key.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c index c60772d4c1b0..15bdbeae5311 100644 --- a/sys/netkey/key.c +++ b/sys/netkey/key.c @@ -6952,11 +6952,6 @@ key_parse(m, so) if (error) return error; - if (m->m_next) { /*XXX*/ - m_freem(m); - return ENOBUFS; - } - msg = mh.msg; /* check SA type */ |