diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2020-08-31 11:57:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-01 13:23:23 -0700 |
commit | e0afe91443a5fddef9213e7f429ab7f12756e769 (patch) | |
tree | b8b7a51e31d37a0cbb19fd8afbe84f747ec9efac /tools/testing/selftests/bpf/prog_tests/bpf_iter.c | |
parent | 36a782fdcc2bfe39265ac4640f29404493b52a55 (diff) |
net: openvswitch: fixes crash if nf_conncount_init() fails
If nf_conncount_init fails currently the dispatched work is not canceled,
causing problems when the timer fires. This change fixes this by not
scheduling the work until all initialization is successful.
Fixes: a65878d6f00b ("net: openvswitch: fixes potential deadlock in dp cleanup code")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Reviewed-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_iter.c')
0 files changed, 0 insertions, 0 deletions