Ubuntu-focal-kernel/net
Pablo Neira Ayuso 7718022e9a netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
BugLink: https://bugs.launchpad.net/bugs/1885023

[ Upstream commit 0d7c83463f ]

Instead of EINVAL which should be used for malformed netlink messages.

Fixes: eb31628e37 ("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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
2020-08-08 01:53:12 -04:00
..
6lowpan
9p
802
8021q vlan: vlan_changelink() should propagate errors 2020-01-30 16:23:25 +01:00
appletalk
atm
ax25 ax25: fix setsockopt(SO_BINDTODEVICE) 2020-06-22 17:22:56 -03:00
batman-adv batman-adv: Revert "disable ethtool link speed detection when auto negotiation off" 2020-08-08 01:53:12 -04:00
bluetooth Bluetooth: Add SCO fallback for invalid LMP parameters error 2020-08-08 01:53:12 -04:00
bpf
bpfilter net/bpfilter: remove superfluous testing message 2020-04-07 14:43:45 -05:00
bridge bridge: Avoid infinite loop when suppressing NS messages with invalid options 2020-08-08 01:53:12 -04:00
caif
can
ceph libceph: ignore pool overlay and cache logic on redirects 2020-06-22 17:23:30 -03:00
core UBUNTU: SAUCE: Revert "netprio_cgroup: Fix unlimited memory leak of v2 cgroups" 2020-07-09 19:47:41 -04:00
dcb
dccp dccp: Fix possible memleak in dccp_init and dccp_fini 2020-08-08 01:53:12 -04:00
decnet
dns_resolver KEYS: Don't write out to userspace while holding key semaphore 2020-05-25 10:41:29 +02:00
dsa net: dsa: declare lockless TX feature for slave ports 2020-06-22 17:23:45 -03:00
ethernet
hsr hsr: check protocol version in hsr_newlink() 2020-05-05 12:32:22 +02:00
ieee802154 nl802154: add missing attribute validation for dev_type 2020-03-18 11:23:21 +01:00
ife
ipv4 ipv4: fix a RCU-list lock in fib_triestat_seq_show 2020-08-08 01:53:12 -04:00
ipv6 ipv6: fix IPV6_ADDRFORM operation logic 2020-08-08 01:53:12 -04:00
iucv
kcm
key
l2tp l2tp: do not use inet_hash()/inet_unhash() 2020-08-08 01:53:12 -04:00
l3mdev
lapb
llc
mac80211 mac80211: mesh: fix discovery timer re-arming issue / crash 2020-06-22 17:23:35 -03:00
mac802154
mpls
ncsi
netfilter netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported 2020-08-08 01:53:12 -04:00
netlabel netlabel: cope with NULL catmap 2020-06-22 17:21:33 -03:00
netlink netlink: Use netlink header as base to calculate bad attribute offset 2020-03-18 11:23:16 +01:00
netrom net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node 2020-05-25 10:41:41 +02:00
nfc nfc: add missing attribute validation for vendor subcommand 2020-03-18 11:23:22 +01:00
nsh
openvswitch net: openvswitch: ovs_ct_exit to be done under ovs_lock 2020-05-25 10:41:41 +02:00
packet net/packet: tpacket_rcv: avoid a producer race condition 2020-04-03 15:17:23 +02:00
phonet
psample
qrtr net: qrtr: Fix passing invalid reference to qrtr_local_enqueue() 2020-06-22 17:23:00 -03:00
rds net/rds: Use ERR_PTR for rds_message_alloc_sgs() 2020-06-22 17:21:58 -03:00
rfkill
rose
rxrpc rxrpc: Fix ack discard 2020-06-22 17:22:54 -03:00
sched net_sched: fix tcm_parent in tc filter dump 2020-06-22 17:21:31 -03:00
sctp sctp: fix refcount bug in sctp_wfree 2020-08-08 01:53:12 -04:00
smc net/smc: cancel event worker during device removal 2020-03-18 11:39:23 +01:00
strparser
sunrpc SUNRPC: Revert 241b1f419f ("SUNRPC: Remove xdr_buf_trim()") 2020-06-22 17:22:15 -03:00
switchdev
tipc tipc: block BH before using dst_cache 2020-06-22 17:23:03 -03:00
tls net/tls: free record only on encryption error 2020-06-22 17:23:05 -03:00
unix af_unix: add compat_ioctl support 2020-01-30 16:25:04 +01:00
vmw_vsock vsock: fix timeout in vsock_accept() 2020-08-08 01:53:12 -04:00
wimax
wireless cfg80211: fix debugfs rename crash 2020-06-22 17:23:35 -03:00
x25 net/x25: Fix x25_neigh refcnt leak when receiving frame 2020-05-25 10:41:41 +02:00
xdp xsk: Add overflow check for u64 division, stored into u32 2020-06-22 17:23:42 -03:00
xfrm xfrm: fix a NULL-ptr deref in xfrm_local_error 2020-06-22 17:23:38 -03:00
Kconfig net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build 2020-04-03 15:17:23 +02:00
Makefile
compat.c
socket.c compat_ioctl: handle SIOCOUTQNSD 2020-01-30 16:25:05 +01:00
sysctl_net.c