acl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 comparison 61/42561/1 stable/2502
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:36 +0000 (14:50 +0000)
commitaa19c526a02889651c58b47422543477aef833e2
tree590ddeaab05a3cfc453f47702a7cc1b4c8f336ca
parent1a28873a5be61a730fc600e8337ff26ad6cdd01f
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