Pablo Neira Ayuso 58ee4d2537 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>
2020-06-22 09:31:00 +02:00
..
2019-09-27 15:10:34 -07:00
2019-09-26 08:56:17 +02:00
2020-05-20 08:20:08 +02:00
2019-12-04 22:30:54 +01:00
2019-10-24 14:53:48 -07:00
2020-05-27 17:46:51 +02:00
2020-06-17 16:40:24 +02:00
2020-01-17 19:48:52 +01:00
2020-01-17 19:48:52 +01:00