diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-07-09 23:00:19 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-08-10 13:35:27 +0200 |
commit | 47901dc2c4a3f1f9af453486a005d31fe9b393f0 (patch) | |
tree | 12bcbe4b7add3cc9beff300165ac4d962015ad15 /lib/textsearch.c | |
parent | e5afbba1869a5d9509c61f8962be9bdebf95f7d3 (diff) | |
download | talos-obmc-linux-47901dc2c4a3f1f9af453486a005d31fe9b393f0.tar.gz talos-obmc-linux-47901dc2c4a3f1f9af453486a005d31fe9b393f0.zip |
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: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions