diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-11-04 12:15:36 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-07 00:20:27 +0100 |
commit | d0fbb51dfaa612f960519b798387be436e8f83c5 (patch) | |
tree | 70a0334af7e0f3f426222f0cb9aa935fdbc34cb6 /tools | |
parent | 2836654a2735d3bc0479edd3ca7457d909b007ed (diff) |
bpf, offload: Unlock on error in bpf_offload_dev_create()
We need to drop the bpf_devs_lock on error before returning.
Fixes: 9fd7c5559165 ("bpf: offload: aggregate offloads per-device")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Link: https://lore.kernel.org/bpf/20191104091536.GB31509@mwanda
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions