android_kernel_google_msm/net/ipv6
Sabrina Dubroca 955be94706 net: add length argument to skb_copy_and_csum_datagram_iovec
Without this length argument, we can read past the end of the iovec in
memcpy_toiovec because we have no way of knowing the total length of the
iovec's buffers.

This is needed for stable kernels where 89c22d8c3b27 ("net: Fix skb
csum races when peeking") has been backported but that don't have the
ioviter conversion, which is almost all the stable trees <= 3.18.

This also fixes a kernel crash for NFS servers when the client uses
 -onfsvers=3,proto=udp to mount the export.

Change-Id: I1865e3d7a1faee42a5008a9ad58c4d3323ea4bab
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
2016-10-31 22:26:43 +11:00
..
netfilter netfilter: x_tables: fix unconditional helper 2016-10-29 23:12:35 +08:00
addrconf.c ipv6: clean up anycast when an interface is destroyed 2016-10-29 23:12:33 +08:00
addrconf_core.c
addrlabel.c
af_inet6.c net: add validation for the socket syscall protocol argument 2016-10-29 23:12:11 +08:00
ah6.c
anycast.c ipv6: clean up anycast when an interface is destroyed 2016-10-29 23:12:33 +08:00
datagram.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
esp6.c
exthdrs.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
exthdrs_core.c
fib6_rules.c
icmp.c net: add a sysctl to reflect the fwmark on replies 2014-05-12 22:39:57 -07:00
inet6_connection_sock.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
inet6_hashtables.c
ip6_fib.c
ip6_flowlabel.c
ip6_input.c
ip6_output.c
ip6_tunnel.c
ip6mr.c
ipcomp6.c
ipv6_sockglue.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
Kconfig
Makefile
mcast.c
mip6.c
ndisc.c ipv6: Don't reduce hop limit for an interface 2016-10-29 23:12:10 +08:00
netfilter.c
ping.c net: ping: Return EAFNOSUPPORT when appropriate. 2015-05-20 15:24:04 +09:00
proc.c
protocol.c
raw.c net: add length argument to skb_copy_and_csum_datagram_iovec 2016-10-31 22:26:43 +11:00
reassembly.c
route.c Set the iif for IPv6 packets as well. 2015-05-20 15:36:18 +09:00
sit.c
syncookies.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
sysctl_net_ipv6.c net: add a sysctl to reflect the fwmark on replies 2014-05-12 22:39:57 -07:00
tcp_ipv6.c ipv6: add complete rcu protection around np->opt 2016-06-17 02:54:32 +00:00
tunnel6.c
udp.c net: add length argument to skb_copy_and_csum_datagram_iovec 2016-10-31 22:26:43 +11:00
udp_impl.h
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_state.c
xfrm6_tunnel.c