diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-04-24 21:55:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 09:05:14 +0200 |
| commit | fbcd580375fe0740850ef62fb2be250abe8b56de (patch) | |
| tree | 4b999ef9284455ff60679d349c4ca249c5ff0d8b /kernel/kcmp.c | |
| parent | 4fe5dcafc74d9729e5f11f2d418c394eadbe0035 (diff) | |
netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
[ Upstream commit 0d7c83463fdf7841350f37960a7abadd3e650b41 ]
Instead of EINVAL which should be used for malformed netlink messages.
Fixes: eb31628e37a0 ("netfilter: nf_tables: Add support for IPv6 NAT")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions
