diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-04-10 11:02:56 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-04-15 23:31:49 +0200 |
| commit | 2bffb631d31e0ea08dd8c850038d1f3b099c1b44 (patch) | |
| tree | cdfd72e0a070facfa4325131255ca4024cb1f0b1 /doc/platform-requirements/git: | |
| parent | 02742fa7c29239f86208c472d67409a061108759 (diff) | |
| download | passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar.gz passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar.bz2 passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar.lz passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar.xz passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.tar.zst passt-2bffb631d31e0ea08dd8c850038d1f3b099c1b44.zip | |
fwd_rule: Move rule conflict checking from fwd_rule_add() to caller
Amongst other checks, fwd_rule_add() checks that the newly added rule
doesn't conflict with any existing rules. However, unlike the other things
we verify, this isn't really required for safe operation. Rule conflicts
are a useful thing for the user to know about, but the forwarding logic
is perfectly sound with conflicting rules (the first one will win).
In order to support dynamic rule updates, we want fwd_rule_add() to become
a more low-level function, only checking the things it really needs to.
So, move rule conflict checking to its caller via new helpers in
fwd_rule.c.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements/git:')
0 files changed, 0 insertions, 0 deletions
