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 commit is contained in:
parent
714aa5b939
commit
6f9bd550cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135801
@ -6671,11 +6671,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 */
|
||||
|
Loading…
Reference in New Issue
Block a user