]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_byteorder: track register operations
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Jan 2022 00:46:58 +0000 (01:46 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Jan 2022 23:07:24 +0000 (00:07 +0100)
commitf459bfd4b9793f25e0fcf19878edd87d8dc569d9
tree721d0fb48b2c0e87ecc6e0fc62a6b2f58a428a82
parentaeac4554eb549037ff2f719200c0a9c1c25e7eaa
netfilter: nft_byteorder: track register operations

Cancel tracking for byteorder operation, otherwise selector + byteorder
operation is incorrectly reduced if source and destination registers are
the same.

Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_byteorder.c