diff options
| author | Fred Li <[email protected]> | 2024-07-19 10:46:53 +0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-07-25 11:50:14 +0200 |
| commit | fa5ef655615a01533035c6139248c5b33aa27028 (patch) | |
| tree | 66603a87fa8f8580a21a182af1da71adab1bc9b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | 13c9b702e6cb8e406d5fa6b2dca422fa42d2f13e (diff) | |
bpf: Fix a segment issue when downgrading gso_size
Linearize the skb when downgrading gso_size because it may trigger a
BUG_ON() later when the skb is segmented as described in [1,2].
Fixes: 2be7e212d5419 ("bpf: add bpf_skb_adjust_room helper")
Signed-off-by: Fred Li <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/all/[email protected] [1]
Link: https://lore.kernel.org/all/[email protected] [2]
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions