From: Daniel Borkmann Date: Fri, 19 Feb 2016 22:05:25 +0000 (+0100) Subject: bpf: try harder on clones when writing into skb X-Git-Tag: v3.2.91~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70d6222db05172d02a821ee97b5651f4091a891;p=pandora-kernel.git bpf: try harder on clones when writing into skb commit 3697649ff29e0f647565eed04b27a7779c646a22 upstream. When we're dealing with clones and the area is not writeable, try harder and get a copy via pskb_expand_head(). Replace also other occurences in tc actions with the new skb_try_make_writable(). Reported-by: Ashhad Sheikh Signed-off-by: Daniel Borkmann Acked-by: Alexei Starovoitov Signed-off-by: David S. Miller [bwh: Backported to 3.2: drop changes to bpf; only tc actions need fixing] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed