diff options
author | Simon Horman <simon.horman@netronome.com> | 2015-03-24 09:31:40 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-24 14:52:42 -0400 |
commit | a6e95cc718c8916a13f1e1e9d33cacbc5db56c0f (patch) | |
tree | cff8be6cf13c3e7490bf752fde8f2f01eef32f5b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d079535d5e1bf5e2e7c856bae2483414ea21e137 (diff) |
rocker: handle non-bridge master change
Master change notifications may occur other than when joining or
leaving a bridge, for example when being added to or removed from
a bond or Open vSwitch.
Previously in those cases rocker_port_bridge_leave() was called
which results in a null-pointer dereference as rocker_port->bridge_dev
is NULL because there is no bridge device.
This patch makes provision for doing nothing in such cases.
Fixes: 6c7079450071f ("rocker: implement L2 bridge offloading")
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions