diff options
author | Guillaume Nault <gnault@redhat.com> | 2020-10-20 18:34:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-21 07:00:52 +0300 |
commit | b130762161374b1ef31549bef8ebd4abeb998d94 (patch) | |
tree | 8e06cdf1e3b46284c2102ad9cd92c790429ee66f /net/ipv6/raw.c | |
parent | d978d6d008fa7a90a435ba7f101dfcbcc1c816a9 (diff) | |
download | linux-b130762161374b1ef31549bef8ebd4abeb998d94.tar.xz |
net/sched: act_gate: Unlock ->tcfa_lock in tc_setup_flow_action()
We need to jump to the "err_out_locked" label when
tcf_gate_get_entries() fails. Otherwise, tc_setup_flow_action() exits
with ->tcfa_lock still held.
Fixes: d29bdd69ecdd ("net: schedule: add action gate offloading")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Link: https://lore.kernel.org/r/12f60e385584c52c22863701c0185e40ab08a7a7.1603207948.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/raw.c')
0 files changed, 0 insertions, 0 deletions