]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_exthdr: add reduce support
authorFlorian Westphal <fw@strlen.de>
Mon, 14 Mar 2022 17:23:13 +0000 (18:23 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 19 Mar 2022 23:29:47 +0000 (00:29 +0100)
commitdbb930a52c4ca9c7b8116ca7a29a5d2c7b3480e3
treec54e254c69c98d1c5301d6dda61cbcd3d19d223b
parent6c54a4fcf130f365fc455ad47f77aa43949d7a5c
netfilter: nft_exthdr: add reduce support

Check if we can elide the load. Cancel if the new candidate
isn't identical to previous store.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_exthdr.c