Commit 3617604
netdev-offload-tc: Make sure tcf_id chain doesn't exceed upper limit.
Kernel reserves the highest nibble of TCA_CHAIN for extended action
types. This means we can't offload the recirculations with values
greater than 2^28. Instead of kernel tc returning the error,
netdev_tc_flow_put() does the check and returns the error.
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2025-November/427485.html
Suggested-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>1 parent dfa40b7 commit 3617604
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2329 | 2329 | | |
2330 | 2330 | | |
2331 | 2331 | | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
2332 | 2338 | | |
2333 | 2339 | | |
2334 | 2340 | | |
| |||
0 commit comments