diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-08-22 11:06:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-31 17:15:19 +0200 |
commit | c08a104a8bce832f6e7a4e8d9ac091777b9982ea (patch) | |
tree | cc4a078e51f73feee17725dba26d2a02939624fe /net/ipv4/tcp_output.c | |
parent | 6301a73bd83d94b9b3eab8581adb04e40fb5f079 (diff) |
netfilter: nf_tables: disallow binding to already bound chain
[ Upstream commit e02f0d3970404bfea385b6edb86f2d936db0ea2b ]
Update nft_data_init() to report EINVAL if chain is already bound.
Fixes: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
Reported-by: Gwangun Jung <exsociety@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions