markj
7733daac8a
lagg: Clean up handling of the rr_limit option.
...
- Don't allow an unprivileged user to set the stride. [1]
- Only set the stride under the softc lock.
- Rename the internal fields to accurately reflect their use. Keep
ro_bkt to avoid changing the user API.
- Simplify the implementation. The port index is just sc_seq / stride.
- Document rr_limit in ifconfig.8.
Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> [1]
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22857
2019-12-22 21:56:47 +00:00
..
2019-12-03 21:00:45 +00:00
2019-12-03 21:00:45 +00:00
2019-07-19 15:12:20 +00:00
2019-07-19 15:12:20 +00:00
2019-07-19 15:12:20 +00:00
2019-12-10 02:19:07 +00:00
2019-01-12 17:52:52 +00:00
2019-09-06 10:12:05 +00:00
2017-12-21 04:23:00 +00:00
2017-05-06 06:01:17 +00:00
2019-12-09 02:29:16 +00:00
2019-05-17 18:16:55 +00:00
2017-09-26 23:12:32 +00:00
2018-10-22 02:34:25 +00:00
2019-08-21 22:18:07 +00:00
2017-06-23 00:40:09 +00:00
2017-01-16 03:03:47 +00:00
2019-10-09 21:48:00 +00:00
2017-09-05 15:13:41 +00:00
2017-09-05 15:19:14 +00:00
2017-01-28 02:22:15 +00:00
2017-11-08 08:21:17 +00:00
2019-04-02 20:03:03 +00:00
2019-03-02 23:20:47 +00:00
2019-01-25 13:48:40 +00:00
2019-01-25 13:48:40 +00:00
2018-03-13 09:42:33 +00:00
2019-04-28 16:28:36 +00:00
2019-04-28 16:28:36 +00:00
2017-11-27 21:30:49 +00:00
2017-08-18 20:35:35 +00:00
2017-11-27 21:30:49 +00:00
2017-11-27 21:30:49 +00:00
2017-11-27 21:30:49 +00:00
2017-11-27 21:30:49 +00:00
2017-11-27 21:30:49 +00:00
2018-05-28 12:50:36 +00:00
2019-01-31 19:05:56 +00:00
2019-10-05 09:59:00 +00:00
2017-02-16 21:57:25 +00:00
2018-02-05 23:38:15 +00:00
2017-05-09 20:39:57 +00:00
2017-05-24 00:58:30 +00:00
2019-12-04 16:56:11 +00:00
2018-07-01 15:17:53 +00:00
2019-07-29 08:50:35 +00:00
2019-08-06 11:26:30 +00:00
2019-06-03 15:41:54 +00:00
2019-08-07 18:14:45 +00:00
2019-11-07 18:16:46 +00:00
2019-04-22 17:52:46 +00:00
2018-04-21 14:56:41 +00:00
2016-11-23 18:45:15 +00:00
2018-02-22 19:12:32 +00:00
2017-11-30 17:58:48 +00:00
2017-03-20 04:41:36 +00:00
2019-12-18 01:27:49 +00:00
2019-02-23 09:34:57 +00:00
2019-07-24 07:07:46 +00:00
2019-12-10 20:51:28 +00:00
2017-11-15 23:48:02 +00:00
2017-04-27 16:14:32 +00:00
2018-12-18 21:43:33 +00:00
2017-12-21 04:23:00 +00:00
2019-10-17 21:33:01 +00:00
2019-12-04 16:56:11 +00:00
2019-04-28 13:07:38 +00:00
2018-10-15 18:28:34 +00:00
2019-08-21 23:43:58 +00:00
2018-08-22 21:23:32 +00:00
2018-07-31 22:56:03 +00:00
2018-07-31 22:56:03 +00:00
2018-07-31 22:56:03 +00:00
2017-05-06 06:01:17 +00:00
2018-08-20 22:16:15 +00:00
2019-02-23 09:34:57 +00:00
2019-02-23 09:34:57 +00:00
2019-05-30 13:50:45 +00:00
2017-08-09 12:24:07 +00:00
2017-01-28 02:22:15 +00:00
2017-05-06 06:01:17 +00:00
2019-12-04 16:56:11 +00:00
2017-04-07 16:14:25 +00:00
2018-03-03 21:41:16 +00:00
2019-04-17 03:29:16 +00:00
2019-06-16 05:12:17 +00:00
2018-07-27 10:40:48 +00:00
2018-05-19 20:35:15 +00:00
2017-01-28 02:22:15 +00:00
2019-08-13 23:32:56 +00:00
2019-08-13 20:06:55 +00:00
2018-10-21 18:06:15 +00:00
2019-06-27 15:46:06 +00:00
2019-12-01 23:05:20 +00:00
2019-05-23 11:35:00 +00:00
2019-12-09 03:02:54 +00:00
2019-04-24 09:05:45 +00:00
2019-11-26 17:25:49 +00:00
2016-11-18 07:36:00 +00:00
2017-08-30 01:37:58 +00:00
2019-01-31 19:05:56 +00:00
2018-11-01 08:17:27 +00:00
2017-02-16 21:56:57 +00:00
2017-02-06 08:49:57 +00:00
2017-09-02 11:57:08 +00:00
2019-04-25 21:24:56 +00:00
2018-09-13 17:39:08 +00:00
2019-12-04 16:56:11 +00:00
2017-01-15 17:54:01 +00:00
2019-01-30 16:55:00 +00:00
2018-08-14 17:36:21 +00:00
2018-08-14 17:36:21 +00:00
2019-04-04 18:52:03 +00:00
2018-11-01 08:17:27 +00:00
2019-02-23 06:03:18 +00:00
2019-08-07 18:14:45 +00:00
2017-10-25 23:24:30 +00:00
2019-02-23 09:34:57 +00:00
2017-02-06 08:49:57 +00:00
2017-05-28 17:02:29 +00:00
2018-12-18 21:43:33 +00:00
2019-02-28 15:24:00 +00:00
2019-10-16 14:57:38 +00:00
2019-11-07 23:39:33 +00:00
2019-11-07 23:39:33 +00:00
2019-07-17 01:56:40 +00:00
2019-07-17 01:56:40 +00:00
2019-01-30 16:55:00 +00:00
2018-12-19 21:56:54 +00:00
2017-08-03 00:38:13 +00:00
2017-05-06 06:01:17 +00:00
2019-03-06 22:11:45 +00:00
2019-07-24 07:07:46 +00:00
2019-12-22 21:56:47 +00:00
2017-02-16 21:56:41 +00:00
2017-10-29 08:17:03 +00:00
2019-12-16 20:15:44 +00:00
2019-02-23 09:34:57 +00:00
2017-12-26 18:42:29 +00:00
2017-02-28 23:42:47 +00:00
2018-07-20 16:06:44 +00:00
2017-10-29 08:17:03 +00:00
2019-12-10 02:19:07 +00:00
2017-12-29 20:00:19 +00:00
2019-03-13 09:48:33 +00:00
2019-11-06 19:52:31 +00:00
2017-03-02 06:57:13 +00:00
2017-03-02 06:57:13 +00:00
2019-05-08 10:49:05 +00:00
2017-08-23 12:09:37 +00:00
2019-10-02 10:14:55 +00:00
2017-02-16 21:56:32 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-08-06 11:26:30 +00:00
2018-10-22 02:34:10 +00:00
2019-06-01 16:04:20 +00:00
2019-06-01 16:04:20 +00:00
2019-03-13 09:48:33 +00:00
2018-12-06 20:04:01 +00:00
2019-02-26 22:50:01 +00:00
2019-08-04 04:51:32 +00:00
2019-02-23 09:34:57 +00:00
2019-10-17 19:49:20 +00:00
2019-10-17 21:33:01 +00:00
2019-11-08 17:33:42 +00:00
2018-12-14 09:24:14 +00:00
2019-10-03 02:32:55 +00:00
2016-12-02 09:51:12 +00:00
2019-05-14 15:41:34 +00:00
2019-02-08 06:19:28 +00:00
2016-11-23 18:45:15 +00:00
2019-02-23 09:34:57 +00:00
2016-12-02 10:47:10 +00:00
2019-10-20 20:57:57 +00:00
2018-02-14 21:17:44 +00:00
2018-11-04 19:10:44 +00:00
2018-01-23 03:36:49 +00:00
2019-08-29 13:46:54 +00:00
2017-08-30 21:16:32 +00:00
2019-11-10 03:24:53 +00:00
2019-11-10 18:07:02 +00:00
2019-08-29 13:46:54 +00:00
2019-08-30 21:49:00 +00:00
2019-02-12 21:06:07 +00:00
2019-05-19 06:01:11 +00:00
2019-11-07 15:47:05 +00:00
2019-08-21 22:18:07 +00:00
2018-03-30 15:28:25 +00:00
2019-02-23 09:34:57 +00:00
2019-01-26 14:14:25 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2017-05-03 20:59:47 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2019-07-02 17:48:27 +00:00
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2018-08-05 13:54:37 +00:00
2019-04-18 11:06:45 +00:00
2018-12-06 19:27:15 +00:00
2018-05-02 15:59:15 +00:00
2018-10-14 18:42:54 +00:00
2019-04-20 21:04:56 +00:00
2018-12-12 17:05:47 +00:00
2019-10-28 21:22:46 +00:00
2019-11-14 23:31:20 +00:00
2019-06-18 04:32:19 +00:00
2018-07-24 18:39:46 +00:00
2017-03-30 23:49:57 +00:00
2017-04-04 17:18:45 +00:00
2019-06-21 00:16:30 +00:00
2019-11-21 01:24:49 +00:00
2017-05-28 17:25:47 +00:00
2019-07-24 07:07:46 +00:00
2019-02-28 18:12:14 +00:00
2018-05-03 18:20:35 +00:00
2018-05-03 18:20:35 +00:00
2019-01-02 18:30:22 +00:00
2019-09-01 06:40:58 +00:00
2019-01-02 18:30:22 +00:00
2019-01-03 03:27:37 +00:00
2018-11-08 14:46:21 +00:00
2018-11-08 14:46:21 +00:00
2017-08-19 00:37:33 +00:00
2018-10-22 02:34:59 +00:00
2019-02-23 09:34:57 +00:00
2019-11-18 14:12:33 +00:00
2018-11-30 07:10:43 +00:00
2017-11-27 21:30:49 +00:00
2019-10-07 20:35:04 +00:00
2019-02-23 09:34:57 +00:00
2019-01-04 18:31:17 +00:00
2019-08-13 01:24:43 +00:00
2018-08-11 13:01:46 +00:00
2019-07-17 04:13:46 +00:00
2019-08-13 01:25:07 +00:00
2016-11-12 19:45:55 +00:00
2019-11-21 01:24:49 +00:00
2018-04-07 23:31:55 +00:00
2019-10-11 11:31:45 +00:00
2018-10-22 02:36:18 +00:00
2019-02-22 06:41:47 +00:00
2019-02-23 09:34:57 +00:00
2019-05-08 02:32:11 +00:00
2019-12-02 20:58:04 +00:00
2019-08-13 15:41:36 +00:00
2019-10-18 12:32:01 +00:00
2018-10-31 12:53:58 +00:00
2019-11-30 20:10:50 +00:00
2019-05-08 02:32:11 +00:00
2018-09-11 17:05:26 +00:00
2017-05-09 08:36:09 +00:00
2018-08-14 13:52:10 +00:00
2019-02-23 09:34:57 +00:00
2017-05-09 08:36:09 +00:00
2017-05-09 08:36:09 +00:00
2017-05-09 08:36:09 +00:00
2019-02-23 09:34:57 +00:00
2017-05-09 08:36:09 +00:00
2017-10-22 11:40:55 +00:00
2017-02-06 08:49:57 +00:00
2018-08-05 11:14:13 +00:00
2019-12-04 16:56:11 +00:00
2017-05-09 08:36:09 +00:00
2019-02-23 09:34:57 +00:00
2019-02-23 09:34:57 +00:00
2019-02-23 09:34:57 +00:00
2017-05-09 08:36:09 +00:00
2019-02-23 09:34:57 +00:00
2017-03-31 08:20:59 +00:00
2017-02-19 17:47:43 +00:00
2017-05-09 08:36:09 +00:00
2017-05-09 08:36:09 +00:00
2018-04-26 17:36:48 +00:00
2019-02-23 09:34:57 +00:00
2019-02-23 09:34:57 +00:00
2019-05-30 14:24:26 +00:00
2019-02-23 09:34:57 +00:00
2019-08-07 18:14:45 +00:00
2017-08-19 17:00:10 +00:00
2019-08-07 18:14:45 +00:00
2019-02-23 09:34:57 +00:00
2018-05-17 15:21:19 +00:00
2019-12-09 21:55:44 +00:00
2017-05-09 08:36:09 +00:00
2019-02-23 09:34:57 +00:00
2019-02-23 09:34:57 +00:00
2019-05-27 00:51:27 +00:00
2018-05-08 21:14:29 +00:00
2019-02-23 09:34:57 +00:00
2019-10-10 03:12:17 +00:00
2019-02-23 09:34:57 +00:00
2019-07-17 01:56:40 +00:00
2018-06-25 09:39:16 +00:00
2018-12-06 20:04:01 +00:00
2018-01-03 00:56:30 +00:00
2019-10-16 14:46:04 +00:00
2019-02-23 09:34:57 +00:00
2019-03-06 22:11:45 +00:00
2019-01-27 15:10:20 +00:00
2017-08-19 17:00:10 +00:00
2017-03-02 06:25:50 +00:00
2018-01-15 21:53:33 +00:00
2016-12-20 18:02:07 +00:00
2019-02-23 09:34:57 +00:00