Randall Stewart 15b1eb142c Change the callout to supply -1 to indicate we are not changing
CPU, also add protection against invalid CPU's as well as
split c_flags and c_iflags so that if a user plays with the active
flag (the one expected to be played with by callers in MPSAFE) without
a lock, it won't adversely affect the callout system by causing a corrupt
list. This also means that all callers need to use the macros and *not*
play with the falgs directly (like netgraph used to).

Differential Revision: htts://reviews.freebsd.org/D1894
Reviewed by: .. timed out but looked at by jhb, imp, adrian hselasky
             tested by hiren and netflix.
Sponsored by:	Netflix Inc.
2015-03-28 12:50:24 +00:00
..
2015-01-23 21:08:24 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-01-23 21:08:24 +00:00
2015-01-23 21:08:24 +00:00
2014-10-15 12:38:26 +00:00
2014-11-30 12:52:33 +00:00
2015-03-17 14:16:50 +00:00
2014-11-23 12:01:52 +00:00