diff options
| author | Octavian Purdila <[email protected]> | 2025-04-07 20:24:07 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-04-09 11:55:48 +0000 |
| commit | 8c0cea59d40cf6dd13c2950437631dd614fbade6 (patch) | |
| tree | f1b8fc23b3bf3e15ba217bd62d9c6b3689492fb1 /rust/helpers/platform.c | |
| parent | net: libwx: handle page_pool_dev_alloc_pages error (diff) | |
| download | kernel-8c0cea59d40cf6dd13c2950437631dd614fbade6.tar.gz kernel-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 <[email protected]>
Acked-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
