diff options
author | 2021-03-19 09:41:03 +0000 | |
---|---|---|
committer | 2021-03-19 12:09:22 -0700 | |
commit | 140960564d6376fe6b702574a64434a7bc8f085c (patch) | |
tree | d11792bb65207ee8912bade7a6a03a962eaa8677 /net/lapb/lapb_timer.c | |
parent | r8169: use lower_32_bits/upper_32_bits macros (diff) | |
download | linux-dev-140960564d6376fe6b702574a64434a7bc8f085c.tar.xz linux-dev-140960564d6376fe6b702574a64434a7bc8f085c.zip |
octeontx2-pf: Fix missing spin_lock_init() in otx2_tc_add_flow()
The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.
Fixes: d8ce30e0cf76 ("octeontx2-pf: add tc flower stats handler for hw offloads")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions