Assert the inpcb lock in udp6_output(), as we dereference various
fields. MFC after: 3 months
This commit is contained in:
parent
dec8026073
commit
8511b981f6
@ -140,6 +140,8 @@ udp6_output(in6p, m, addr6, control, td)
|
||||
int flags;
|
||||
struct sockaddr_in6 tmp;
|
||||
|
||||
INP_LOCK_ASSERT(in6p);
|
||||
|
||||
priv = 0;
|
||||
if (td && !suser(td))
|
||||
priv = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user