Revert "net: add length argument to skb_copy_and_csum_datagram_iovec"
authorBen Hutchings <ben@decadent.org.uk>
Sat, 2 Jan 2016 01:11:55 +0000 (01:11 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Jan 2016 21:40:09 +0000 (21:40 +0000)
commit414d4d9d3354c8e4aa58dc51cea5768f145e5275
tree4dd30438885fc292e53da60d7081509eb1f4495e
parentef90cf3d0b59e3b1dcfe94d1a241107667e6e96a
Revert "net: add length argument to skb_copy_and_csum_datagram_iovec"

This reverts commit 127500d724f8c43f452610c9080444eedb5eaa6c.  That fixed
the problem of buffer over-reads introduced by backporting commit
89c22d8c3b27 ("net: Fix skb csum races when peeking"), but resulted in
incorrect checksumming for short reads.  It will be replaced with a
complete fix.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/skbuff.h
net/core/datagram.c
net/ipv4/tcp_input.c
net/ipv4/udp.c
net/ipv6/raw.c
net/ipv6/udp.c
net/rxrpc/ar-recvmsg.c