diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-09-12 10:28:00 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-14 15:33:00 +0200 |
commit | 486e6ca6b48d68d7fefc99e15cc1865e2210d893 (patch) | |
tree | d3760e6da9793c333b580ba47e738f4afbca956d /net | |
parent | net: ethernet: mtk_eth_soc: rely on mtk_pse_port definitions in mtk_flow_set_... (diff) | |
download | linux-486e6ca6b48d68d7fefc99e15cc1865e2210d893.tar.xz linux-486e6ca6b48d68d7fefc99e15cc1865e2210d893.zip |
net: ethernet: mtk_wed: check update_wo_rx_stats in mtk_wed_update_rx_stats()
Check if update_wo_rx_stats function pointer is properly set in
mtk_wed_update_rx_stats routine before accessing it.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/b0d233386e059bccb59f18f69afb79a7806e5ded.1694507226.git.lorenzo@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions