aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorCengiz Can <[email protected]>2020-12-07 11:14:24 +0300
committerDavid S. Miller <[email protected]>2020-12-08 15:53:41 -0800
commit0398ba9e5a4b5675aa571e0445689d3c2e499c2d (patch)
tree84314cf1ee7fa9735791b7368285ed379b6b1ebe /tools/perf/scripts/python/mem-phys-addr.py
parent9756bb63e8d10aad720c378f3fd18e5fa1cc06ec (diff)
net: tipc: prevent possible null deref of link
`tipc_node_apply_property` does a null check on a `tipc_link_entry` pointer but also accesses the same pointer out of the null check block. This triggers a warning on Coverity Static Analyzer because we're implying that `e->link` can BE null. Move "Update MTU for node link entry" line into if block to make sure that we're not in a state that `e->link` is null. Signed-off-by: Cengiz Can <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions