Remove a comment from the raw IPv6 output function regarding
M_TRYWAIT allocations: M_PREPEND() now uses M_DONTWAIT. MFC after: 3 days
This commit is contained in:
parent
3a85760cb9
commit
2fa2cb0c9b
@ -338,12 +338,6 @@ rip6_output(m, va_alist)
|
|||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
in6p = sotoin6pcb(so);
|
in6p = sotoin6pcb(so);
|
||||||
/*
|
|
||||||
* XXXRW: In IPv6, we don't start referencing the contents of the
|
|
||||||
* inpcb until after all M_TRYWAIT allocations have finished. We may
|
|
||||||
* want to reorder this function to provide similar guarantees here,
|
|
||||||
* so as to avoid holding a mutex over M_TRYWAIT.
|
|
||||||
*/
|
|
||||||
INP_LOCK(in6p);
|
INP_LOCK(in6p);
|
||||||
stickyopt = in6p->in6p_outputopts;
|
stickyopt = in6p->in6p_outputopts;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user