acl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 comparison 62/42562/1 stable/2410
authorAndrew Yourtchenko <[email protected]>
Wed, 26 Mar 2025 15:52:25 +0000 (16:52 +0100)
committerAndrew Yourtchenko <[email protected]>
Thu, 27 Mar 2025 14:50:58 +0000 (14:50 +0000)
commitb3a21b9b0e0808a850851994ab42f1bd83928c3f
treed2a3189c5d65d20ac1ed845b52bce0505557af83
parentcfa0953251cbab435307baf3dcd249fd95afaf1f
acl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 comparison

The comparison code for the bit remainder (non-zero part of prefix length modulo 8)
was incorrectly looking one byte further than it should.

Type: fix
Change-Id: Idd27d218e77eff5f368f2ba0a5cefb86ecf605f5
Signed-off-by: Andrew Yourtchenko <[email protected]>
(cherry picked from commit 7e295a42f0fd91a266a063b60935f7c8c3f9919e)
src/plugins/acl/public_inlines.h