]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 28 May 2021 11:45:16 +0000 (13:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Jun 2021 10:43:50 +0000 (12:43 +0200)
commit796102c62ed8878985f826edc7d3403274a6e46c
tree991d944462cf1ef084032dfc64557618e809dd91
parente950ab2975950946c8ebde4f8b35f1bc45e76160
netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches

The private helper data size cannot be updated. However, updates that
contain NFCTH_PRIV_DATA_LEN might bogusly hit EBUSY even if the size is
the same.

Fixes: fd925a24e9bc ("netfilter: add user-space connection tracking helper infrastructure")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_cthelper.c