summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-12-11 21:07:19 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-16 13:26:50 -0500
commit66e2809dd324f0ab5e1f9d997b40d4d31a2e42b1 (patch)
treeb60dbf21d59a48e9cd0fa9944cd7b3469292082b /tools/perf/scripts/python/call-graph-from-postgresql.py
parente28ceeb10cd1883a4b6528c17a2b1f2024e35cad (diff)
net: dsa: mv88e6xxx: Fix opps when adding vlan bridge
A port is not necessarily assigned to a netdev. And a port does not need to be a member of a bridge. So when iterating over all ports, check before using the netdev and bridge_dev for a port. Otherwise we dereference a NULL pointer. Fixes: da9c359e19f0 ("net: dsa: mv88e6xxx: check hardware VLAN in use") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions