diff options
| author | David Yang <mmyangfl@gmail.com> | 2026-11-10 18:48:55 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-12 10:16:43 -0800 |
| commit | 4e80af24f9f38369e32783f22cbc5b5e1db09388 (patch) | |
| tree | 07df9d1915ee53eb540792c1439c767b56d8eb5c /rust/kernel/alloc | |
| parent | 96a4b015fe66aed2643106d7496ed77a99fbea77 (diff) | |
net: dsa: motorcomm: Delete the ACL rule of the port being unbound
A flower filter on a block shared across ports is offloaded as one
hardware rule per port, all carrying the same classifier cookie.
Deletion looked a rule up by cookie alone and could take another
port's copy: with skip_sw, a filter silently stopped being enforced
on a still-bound port, while the detached port kept enforcing it.
Delete the rule matching the port being unbound instead.
Fixes: 8eb9e7520b17 ("net: dsa: yt921x: Add ACL support")
Signed-off-by: David Yang <mmyangfl@gmail.com>
Link: https://patch.msgid.link/20261110104930.223598-4-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
