diff options
author | John Fastabend <[email protected]> | 2021-07-27 09:04:58 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-07-27 14:55:10 -0700 |
commit | 343597d558e79fe704ba8846b5b2ed24056b89c2 (patch) | |
tree | 9be3342dfefbd6f63c068e83232f03931fe32b55 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | d6371c76e20d7d3f61b05fd67b596af4d14a8886 (diff) |
bpf, sockmap: Zap ingress queues after stopping strparser
We don't want strparser to run and pass skbs into skmsg handlers when
the psock is null. We just sk_drop them in this case. When removing
a live socket from map it means extra drops that we do not need to
incur. Move the zap below strparser close to avoid this condition.
This way we stop the stream parser first stopping it from processing
packets and then delete the psock.
Fixes: a136678c0bdbb ("bpf: sk_msg, zap ingress queue on psock down")
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
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