Assert the inpcb lock on 'last' in udp_append(), since it's always
called with it, and also requires it. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
This commit is contained in:
parent
583284e1d7
commit
cbe42d48bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128903
@ -142,6 +142,8 @@ raw_append(struct inpcb *last, struct ip *ip, struct mbuf *n)
|
||||
{
|
||||
int policyfail = 0;
|
||||
|
||||
INP_LOCK_ASSERT(last);
|
||||
|
||||
#if defined(IPSEC) || defined(FAST_IPSEC)
|
||||
/* check AH/ESP integrity. */
|
||||
if (ipsec4_in_reject(n, last)) {
|
||||
|
Loading…
Reference in New Issue
Block a user