]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nftables: add helper function to set the base sequence number
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Mar 2021 22:18:02 +0000 (00:18 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 31 Mar 2021 20:34:11 +0000 (22:34 +0200)
commitf013600eafc1ddfa1c73a0fb5ce0fc1e39dd6359
treecffed5609f9c240fdf1bc99b81c7c7f145ae9a17
parent91e5f920ff3cdb10ddc81e6b5900f71807c56245
netfilter: nftables: add helper function to set the base sequence number

This patch adds a helper function to calculate the base sequence number
field that is stored in the nfnetlink header. Use the helper function
whenever possible.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c