summaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-02-07 19:25:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-31 17:15:18 +0200
commit2267d38520c4aa74c9110c9ef2f6619aebc8446d (patch)
treef27c13c512f19f5d93995c8e414481ff2ee4b556 /net/tipc/socket.c
parent1d7d74a8240e5d4505f5f3f67417bb7334230c11 (diff)
netfilter: nft_cmp: optimize comparison for 16-bytes
[ Upstream commit 23f68d462984bfda47c7bf663dca347e8e3df549 ] Allow up to 16-byte comparisons with a new cmp fast version. Use two 64-bit words and calculate the mask representing the bits to be compared. Make sure the comparison is 64-bit aligned and avoid out-of-bound memory access on registers. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions