mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
netipsec: Pass the right mbuf up
Note that key_spdacquire() is dead code, as the SADB_X_SPDACQUIRE message handler is not set. PR: 243057 MFC after: 2 weeks (cherry picked from commit 378a2b155aaf853933df5b53e174b3880826488c)
This commit is contained in:
parent
8373644ee2
commit
65da23709d
1 changed files with 1 additions and 1 deletions
|
|
@ -2519,7 +2519,7 @@ key_spdacquire(struct secpolicy *sp)
|
|||
mtod(result, struct sadb_msg *)->sadb_msg_len =
|
||||
PFKEY_UNIT64(result->m_pkthdr.len);
|
||||
|
||||
return key_sendup_mbuf(NULL, m, KEY_SENDUP_REGISTERED);
|
||||
return key_sendup_mbuf(NULL, result, KEY_SENDUP_REGISTERED);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue