]> 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)
commitf381ca91d1c0c34753438dcf810357d26b7a1003
treec54e254c69c98d1c5301d6dda61cbcd3d19d223b
parent9f9ca5d1e747a40201715a22f27370537b06603d
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