Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 47901dc2 authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: use memcmp in unconditional check



Instead of inspecting each u32/char open-coded, clean up and make use
of memcmp. On some arches, memcmp is implemented as assembly or GCC's
__builtin_memcmp which can possibly take advantages of known
alignment.

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
parent e5afbba1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment