summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
authorYunjian Wang <wangyunjian@huawei.com>2021-04-01 12:52:48 +0800
committerDavid S. Miller <davem@davemloft.net>2021-04-02 14:14:22 -0700
commit990b03b05b2fba79de2a1ee9dc359fc552d95ba6 (patch)
tree09ffe77a9bc7e46bd7c34032be61e92a1d493404 /drivers/hv
parent29684d802e4ab484c679859217c1588c199f1d4f (diff)
net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb
The 'unlocked_driver_cb' struct field in 'bo' is not being initialized in tcf_block_offload_init(). The uninitialized 'unlocked_driver_cb' will be used when calling unlocked_driver_cb(). So initialize 'bo' to zero to avoid the issue. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: 0fdcf78d5973 ("net: use flow_indr_dev_setup_offload()") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions