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