Make a comment that "ipfw forward" is not SMP and PREEMPTION safe.
This commit is contained in:
parent
98b937e22a
commit
1b887d9d08
@ -829,6 +829,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro,
|
||||
* This could have surprisingly bad results in
|
||||
* practice, because its content is overwritten
|
||||
* by subsequent packets.
|
||||
* XXX: Breaks on SMP and possibly preemption!
|
||||
*/
|
||||
/* There must be a better way to do this next line... */
|
||||
static struct route sro_fwd;
|
||||
|
Loading…
Reference in New Issue
Block a user