aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2016-02-19 22:05:25 +0000
committerDavid S. Miller <[email protected]>2016-02-22 03:07:10 +0000
commit3697649ff29e0f647565eed04b27a7779c646a22 (patch)
treef6777555e1879ba3af5cb96673f3674bb72ca7c0 /net/unix/af_unix.c
parentbpf: remove artificial bpf_skb_{load, store}_bytes buffer limitation (diff)
downloadkernel-3697649ff29e0f647565eed04b27a7779c646a22.tar.gz
kernel-3697649ff29e0f647565eed04b27a7779c646a22.zip
bpf: try harder on clones when writing into skb
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions