aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorShmulik Ladkani <[email protected]>2019-04-29 13:39:30 +0000
committerDavid S. Miller <[email protected]>2019-05-01 17:28:34 +0000
commitd2f0c961148f65bc73eda72b9fa3a4e80973cb49 (patch)
tree99de723ffe2f3a3222dad7f850ce0c3aaea8a0ce /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentnet/tls: avoid NULL pointer deref on nskb->sk in fallback (diff)
downloadkernel-d2f0c961148f65bc73eda72b9fa3a4e80973cb49.tar.gz
kernel-d2f0c961148f65bc73eda72b9fa3a4e80973cb49.zip
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
Previously, during fragmentation after forwarding, skb->skb_iif isn't preserved, i.e. 'ip_copy_metadata' does not copy skb_iif from given 'from' skb. As a result, ip_do_fragment's creates fragments with zero skb_iif, leading to inconsistent behavior. Assume for example an eBPF program attached at tc egress (post forwarding) that examines __sk_buff->ingress_ifindex: - the correct iif is observed if forwarding path does not involve fragmentation/refragmentation - a bogus iif is observed if forwarding path involves fragmentation/refragmentatiom Fix, by preserving skb_iif during 'ip_copy_metadata'. Signed-off-by: Shmulik Ladkani <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions