-
Daniel Borkmann authored
commit 3697649f 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 <ashhadsheikh394@gmail.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Acked-by:
Alexei Starovoitov <ast@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: drop changes to bpf; only tc actions need fixing] Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
0c361c94