Commit c478484
Herton R. Krzesinski
Merge: Revert "ethernet: Remove vf rate limit check for drivers"
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/2036
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2168599
Upstream-status: RHEL-Only
This reverts commit 778c3af.
Commit 778c3af ("ethernet: Remove vf rate limit check for drivers")
was backported for RHEL9.2 but it has a dependency on upstream
commit a14857c ("rtnetlink: verify rate parameters for calls
to ndo_set_vf_rate") which has not been backported to RHEL9 at this time.
Without this revert, it is possible for a program to pass invalid parameters
to the kernel/driver using IFLA_VF_RATE. The 'ip' command is safe because it
makes sure that min_tx_rate <= max_tx_rate before calling into the kernel,
but other programs could potentially be a problem.
Signed-off-by: Ken Cox <jkc@redhat.com>
Approved-by: Herton R. Krzesinski <herton@redhat.com>
Approved-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
0 commit comments