linux_dsm_epyc7002/net
Lorenzo Bianconi 428604fb11 ipv6: do not set routes if disable_ipv6 has been enabled
Do not allow setting ipv6 routes from userspace if disable_ipv6 has been
enabled. The issue can be triggered using the following reproducer:

- sysctl net.ipv6.conf.all.disable_ipv6=1
- ip -6 route add a🅱️c:d::/64 dev em1
- ip -6 route show
  a🅱️c:d::/64 dev em1 metric 1024 pref medium

Fix it checking disable_ipv6 value in ip6_route_info_create routine

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-30 12:20:52 -04:00
..
6lowpan
9p
802
8021q net: Call add/kill vid ndo on vlan filter feature toggling 2018-03-30 09:58:59 -04:00
appletalk
atm
ax25
batman-adv
bluetooth
bpf
bridge Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next 2018-03-30 11:41:18 -04:00
caif
can
ceph
core net: Close race between {un, }register_netdevice_notifier() and setup_net()/cleanup_net() 2018-03-30 10:59:35 -04:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr
ieee802154
ife
ipv4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next 2018-03-30 11:41:18 -04:00
ipv6 ipv6: do not set routes if disable_ipv6 has been enabled 2018-03-30 12:20:52 -04:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 We have a fair number of patches, but many of them are from the 2018-03-29 16:23:26 -04:00
mac802154
mpls
ncsi
netfilter Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next 2018-03-30 11:41:18 -04:00
netlabel
netlink
netrom
nfc
nsh
openvswitch ovs: Remove rtnl_lock() from ovs_exit_net() 2018-03-29 13:47:54 -04:00
packet
phonet
psample
qrtr
rds
rfkill
rose
rxrpc rxrpc: Trace call completion 2018-03-27 23:08:20 +01:00
sched
sctp sctp: fix unused lable warning 2018-03-29 14:38:27 -04:00
smc
strparser
sunrpc
switchdev
tipc
tls
unix
vmw_vsock
wimax
wireless We have a fair number of patches, but many of them are from the 2018-03-29 16:23:26 -04:00
x25
xfrm xfrm: Register xfrm_dev_notifier in appropriate place 2018-03-30 10:59:23 -04:00
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c