diff options
author | Octavian Purdila <tavip@google.com> | 2025-04-07 13:24:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-04-09 12:55:48 +0100 |
commit | 8c0cea59d40cf6dd13c2950437631dd614fbade6 (patch) | |
tree | f1b8fc23b3bf3e15ba217bd62d9c6b3689492fb1 /rust/helpers/workqueue.c | |
parent | 7f1ff1b38a7c8b872382b796023419d87d78c47e (diff) | |
download | linux-8c0cea59d40cf6dd13c2950437631dd614fbade6.tar.gz linux-8c0cea59d40cf6dd13c2950437631dd614fbade6.tar.bz2 linux-8c0cea59d40cf6dd13c2950437631dd614fbade6.zip |
net_sched: sch_sfq: use a temporary work area for validating configuration
Many configuration parameters have influence on others (e.g. divisor
-> flows -> limit, depth -> limit) and so it is difficult to correctly
do all of the validation before applying the configuration. And if a
validation error is detected late it is difficult to roll back a
partially applied configuration.
To avoid these issues use a temporary work area to update and validate
the configuration and only then apply the configuration to the
internal state.
Signed-off-by: Octavian Purdila <tavip@google.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions