freebsd-dev/sys/net/altq
Gleb Smirnoff a68cc38879 Mechanical cleanup of epoch(9) usage in network stack.
- Remove macros that covertly create epoch_tracker on thread stack. Such
  macros a quite unsafe, e.g. will produce a buggy code if same macro is
  used in embedded scopes. Explicitly declare epoch_tracker always.

- Unmask interface list IFNET_RLOCK_NOSLEEP(), interface address list
  IF_ADDR_RLOCK() and interface AF specific data IF_AFDATA_RLOCK() read
  locking macros to what they actually are - the net_epoch.
  Keeping them as is is very misleading. They all are named FOO_RLOCK(),
  while they no longer have lock semantics. Now they allow recursion and
  what's more important they now no longer guarantee protection against
  their companion WLOCK macros.
  Note: INP_HASH_RLOCK() has same problems, but not touched by this commit.

This is non functional mechanical change. The only functionally changed
functions are ni6_addrs() and ni6_store_addrs(), where we no longer enter
epoch recursively.

Discussed with:	jtl, gallatin
2019-01-09 01:11:19 +00:00
..
altq_cbq.c altq: manual cleanup after r341507 2018-12-04 23:53:42 +00:00
altq_cbq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_cdnr.h
altq_classq.h
altq_codel.c Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_codel.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_fairq.c Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_fairq.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_hfsc.c altq: manual cleanup after r341507 2018-12-04 23:53:42 +00:00
altq_hfsc.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_priq.c altq: manual cleanup after r341507 2018-12-04 23:53:42 +00:00
altq_priq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_red.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_red.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rio.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rio.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rmclass_debug.h
altq_rmclass.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rmclass.h Fix flags collision causing inability to enable CBQ in ALTQ 2018-11-16 03:42:29 +00:00
altq_subr.c Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
altq_var.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
if_altq.h ALTQ support for iflib. 2018-07-25 22:46:36 +00:00