Christian Brauner
4ff66cae7f
rtnetlink: require unique netns identifier
...
Since we've added support for IFLA_IF_NETNSID for RTM_{DEL,GET,SET,NEW}LINK
it is possible for userspace to send us requests with three different
properties to identify a target network namespace. This affects at least
RTM_{NEW,SET}LINK. Each of them could potentially refer to a different
network namespace which is confusing. For legacy reasons the kernel will
pick the IFLA_NET_NS_PID property first and then look for the
IFLA_NET_NS_FD property but there is no reason to extend this type of
behavior to network namespace ids. The regression potential is quite
minimal since the rtnetlink requests in question either won't allow
IFLA_IF_NETNSID requests before 4.16 is out (RTM_{NEW,SET}LINK) or don't
support IFLA_NET_NS_{PID,FD} (RTM_{DEL,GET}LINK) in the first place.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-08 14:33:20 -05:00
..
6lowpan
9p
Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2018-01-30 17:58:07 -08:00
802
8021q
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
appletalk
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
atm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
ax25
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
batman-adv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
bluetooth
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
bpf
bpf: fix null pointer deref in bpf_prog_test_run_xdp
2018-02-01 07:43:56 -08:00
bridge
net: bridge: Fix uninitialized error in br_fdb_sync_static()
2018-02-01 09:47:37 -05:00
caif
Currently, hardened usercopy performs dynamic bounds checking on slab
2018-02-03 16:25:42 -08:00
can
can: migrate documentation to restructured text
2018-01-26 10:46:44 +01:00
ceph
core
rtnetlink: require unique netns identifier
2018-02-08 14:33:20 -05:00
dcb
dccp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
decnet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
dns_resolver
dsa
net: dsa: Support internal phy on 'cpu' port
2018-01-23 19:22:38 -05:00
ethernet
hsr
ieee802154
ife
ipv4
tcp: tracepoint: only call trace_tcp_send_reset with full socket
2018-02-07 22:00:42 -05:00
ipv6
tcp: tracepoint: only call trace_tcp_send_reset with full socket
2018-02-07 22:00:42 -05:00
iucv
net: annotate ->poll() instances
2017-11-27 16:20:04 -05:00
kcm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-01-24 23:44:15 -05:00
key
af_key: Fix memory leak in key_notify_policy.
2018-01-10 09:45:11 +01:00
l2tp
l2tp: remove switch block in l2tp_nl_cmd_session_create()
2018-01-19 15:10:23 -05:00
l3mdev
lapb
llc
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
mac80211
debugfs_sta: Remove unneeded semicolons
2018-01-22 14:03:28 +01:00
mac802154
mpls
net: use rtnl_register_module where needed
2017-12-04 11:32:39 -05:00
ncsi
net/ncsi: Don't take any action on HNCDSC AEN
2017-12-18 14:50:11 -05:00
netfilter
netfilter: nf_flow_offload: fix use-after-free and a resource leak
2018-02-07 11:55:52 +01:00
netlabel
netlink
netlink: ensure to loop over all netns in genlmsg_multicast_allns()
2018-02-08 14:03:18 -05:00
netrom
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
nfc
net: annotate ->poll() instances
2017-11-27 16:20:04 -05:00
nsh
openvswitch
openvswitch: Remove padding from packet before L3+ conntrack processing
2018-02-01 09:46:22 -05:00
packet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
phonet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
psample
qrtr
net: use rtnl_register_module where needed
2017-12-04 11:32:39 -05:00
rds
RDS: IB: Fix null pointer issue
2018-02-06 11:44:32 -05:00
rfkill
net: annotate ->poll() instances
2017-11-27 16:20:04 -05:00
rose
net: delete /proc THIS_MODULE references
2018-01-16 15:01:33 -05:00
rxrpc
rxrpc: Don't put crypto buffers on the stack
2018-02-08 13:48:29 -05:00
sched
sch_netem: Bug fixing in calculating Netem interval
2018-02-07 21:59:12 -05:00
sctp
sctp: fix dst refcnt leak in sctp_v4_get_dst
2018-02-05 21:21:51 -05:00
smc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
strparser
strparser: Call sock_owned_by_user_nocheck
2017-12-28 14:28:22 -05:00
sunrpc
NFS client updates for Linux 4.16
2018-01-30 19:03:48 -08:00
switchdev
tipc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
tls
tls: Add support for encryption using async offload accelerator
2018-01-31 10:26:30 -05:00
unix
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
vmw_vsock
Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2018-01-30 17:58:07 -08:00
wimax
wireless
Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2018-02-04 11:45:55 -08:00
x25
xfrm
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next
2018-01-26 10:22:53 -05:00
compat.c
Kconfig
Staging/IIO patches for 4.16-rc1
2018-02-01 09:51:57 -08:00
Makefile
ipx: move Novell IPX protocol support into staging
2017-11-28 13:55:00 +01:00
socket.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
sysctl_net.c