aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2020-01-21 18:41:38 -0800
committerDaniel Borkmann <[email protected]>2020-01-22 12:09:02 +0100
commitf59bbfc2f6099e8655f9e8f585e10ffde17176d0 (patch)
tree0e3289384ee6ad1a13499afe74509574be73f27c /drivers/usb/cdns3/cdns3-debug.h
parent05d57f1793fb250c85028c9952c3720010baa853 (diff)
bpf: Fix error path under memory pressure
Restore the 'if (env->cur_state)' check that was incorrectly removed during code move. Under memory pressure env->cur_state can be freed and zeroed inside do_check(). Hence the check is necessary. Fixes: 51c39bb1d5d1 ("bpf: Introduce function-by-function verification") Reported-by: [email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions