aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorXiang Yang <[email protected]>2023-08-03 07:24:38 +0000
committerJakub Kicinski <[email protected]>2023-08-04 15:22:13 -0700
commit17ebf8a4c38b5481c29623f5e003fdf7583947f9 (patch)
treeb0f539d4f974d45ca0a2995d04f556929abb2061 /tools/perf/scripts/python/netdev-times.py
parent1733d0be68ab1b89358a3b0471ef425fd61de7c5 (diff)
mptcp: fix the incorrect judgment for msk->cb_flags
Coccicheck reports the error below: net/mptcp/protocol.c:3330:15-28: ERROR: test of a variable/field address Since the address of msk->cb_flags is used in __test_and_clear_bit, the address should not be NULL. The judgment for if (unlikely(msk->cb_flags)) will always be true, we should check the real value of msk->cb_flags here. Fixes: 65a569b03ca8 ("mptcp: optimize release_cb for the common case") Signed-off-by: Xiang Yang <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions