summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-01-08 08:01:56 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-09 06:01:22 +0300
commita4c61b92b3a4cbda35bb0251a5063a68f0861b2c (patch)
treeda293a8457b7a372f3fd97845272996359329f3c /tools/perf/util/scripting-engines/trace-event-python.c
parenta2cd64f30140c5aebd9359f66c00c19d5c6bece6 (diff)
downloadlinux-a4c61b92b3a4cbda35bb0251a5063a68f0861b2c.tar.xz
net: dsa: bcm_sf2: Do not clobber b53_switch_ops
We make the bcm_sf2 driver override ds->ops which points to b53_switch_ops since b53_switch_alloc() did the assignent. This is all well and good until a second b53 switch comes in, and ends up using the bcm_sf2 operations. Make a proper local copy, substitute the ds->ops pointer and then override the operations. Fixes: f458995b9ad8 ("net: dsa: bcm_sf2: Utilize core B53 driver when possible") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions