Commit 89db94b1 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by Yang Yingliang
Browse files

netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches



stable inclusion
from linux-4.19.194
commit 8aed10cd9497933ebe3fc0afe8d8ddc1af8b0d48

--------------------------------

[ Upstream commit 8971ee8b ]

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: 12f7a505 ("netfilter: add user-space connection tracking helper infrastructure")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 32bedd8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment