flo: Fix mismerge after Linux 3.4.96


Change-Id: I6d986b007f5c03cca4616c9bd04380daa0fc73bb
Signed-off-by: doc <doc.divxm@gmail.com>
Revert "HID: core: fix validation of report id 0"

This reverts commit 9909263a69a571c46d9dde9b487b09ad817cbb46.
Revert "skbuff: skb_segment: orphan frags before copying"

This reverts commit 4ae8710b74b2e73cd3012653bd264772178417ec.
skbuff: skb_segment: orphan frags before copying


commit 1fd819ecb90cc9b822cd84d3056ddba315d3340f upstream.

skb_segment copies frags around, so we need
to copy them carefully to avoid accessing
user memory after reporting completion to userspace
through a callback.

skb_segment doesn't normally happen on datapath:
TSO needs to be disabled - so disabling zero copy
in this case does not look like a big deal.

Change-Id: If7631e9c330339a2084dd0f7bf9283a62c9afe44
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2.  As skb_segment() only supports page-frags *or* a
 frag list, there is no need for the additional frag_skb pointer or the
 preparatory renaming.]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>