]> 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)
commit7e88edbd2dbc81808b82fffbd2fb3c633b3a24f7
tree991d944462cf1ef084032dfc64557618e809dd91
parent5bbb3d92e1ffcfa0d265ba4c91a7fe3e3df0070f
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: fe5aa25a02f8 ("netfilter: add user-space connection tracking helper infrastructure")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_cthelper.c