android_kernel_oneplus_msm8998/net/ipv6
Mantas M f00f18ebb3 net: ipv6: check route protocol when deleting routes
commit c2ed1880fd61a998e3ce40254a99a2ad000f1a7d upstream.

The protocol field is checked when deleting IPv4 routes, but ignored for
IPv6, which causes problems with routing daemons accidentally deleting
externally set routes (observed by multiple bird6 users).

This can be verified using `ip -6 route del <prefix> proto something`.

Signed-off-by: Mantas Mikulėnas <grawity@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-21 09:30:08 +02:00
..
netfilter netfilter: x_tables: introduce and use xt_copy_counters_from_user 2016-06-24 10:18:24 -07:00
addrconf.c ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock 2017-02-04 09:45:09 +01:00
addrconf_core.c
addrlabel.c
af_inet6.c
ah6.c
anycast.c
datagram.c
esp6.c esp6: Fix integrity verification when ESN are used 2016-12-10 19:07:26 +01:00
exthdrs.c
exthdrs_core.c
exthdrs_offload.c
fib6_rules.c
icmp.c
ila.c
inet6_connection_sock.c
inet6_hashtables.c
ip6_checksum.c
ip6_fib.c ipv6: make ECMP route replacement less greedy 2017-03-22 12:04:17 +01:00
ip6_flowlabel.c
ip6_gre.c ip6_gre: fix ip6gre_err() invalid reads 2017-02-18 16:39:26 +01:00
ip6_icmp.c
ip6_input.c
ip6_offload.c gro: Disable frag0 optimization on IPv6 ext headers 2017-01-15 13:41:35 +01:00
ip6_offload.h
ip6_output.c ipv6: avoid write to a possibly cloned skb 2017-03-22 12:04:17 +01:00
ip6_tunnel.c ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim() 2017-02-18 16:39:26 +01:00
ip6_udp_tunnel.c
ip6_vti.c vti6: return GRE_KEY for vti6 2017-03-22 12:04:13 +01:00
ip6mr.c ipmr, ip6mr: fix scheduling while atomic and a deadlock with ipmr_get_route 2016-11-15 07:46:37 +01:00
ipcomp6.c
ipv6_sockglue.c
Kconfig
Makefile
mcast.c
mcast_snoop.c
mip6.c
ndisc.c
netfilter.c
output_core.c ipv6: Set skb->protocol properly for local output 2016-12-10 19:07:26 +01:00
ping.c ipv6: release dst in ping_v6_sendmsg 2016-09-30 10:18:34 +02:00
proc.c
protocol.c
raw.c ipv6: handle -EFAULT from skb_copy_bits 2017-01-15 13:41:34 +01:00
reassembly.c
route.c net: ipv6: check route protocol when deleting routes 2017-04-21 09:30:08 +02:00
sit.c sit: fix a double free on error path 2017-02-18 16:39:27 +01:00
syncookies.c
sysctl_net_ipv6.c
tcp_ipv6.c dccp/tcp: fix routing redirect race 2017-03-22 12:04:17 +01:00
tcpv6_offload.c
tunnel6.c
udp.c udp: fix IP_CHECKSUM handling 2016-11-15 07:46:39 +01:00
udp_impl.h
udp_offload.c
udplite.c
xfrm6_input.c
xfrm6_mode_beet.c
xfrm6_mode_ro.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c
xfrm6_policy.c
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c