summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-08-22 23:22:43 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-23 20:39:44 -0700
commit326ce603015eefaa86fc6e490f43638e1010a838 (patch)
tree2550513eb676413deb39f95c07d9f30c2ceb1754 /tools/perf/scripts/python
parentd6e1ab9ea3514840e4f32957c457b094646c2e9d (diff)
nfp: make sure representors are destroyed before their lower netdev
App start/stop callbacks can perform application initialization. Unfortunately, flower app started using them for creating and destroying representors. This can lead to a situation where lower vNIC netdev is destroyed while representors still try to pass traffic. This will most likely lead to a NULL-dereference on the lower netdev TX path. Move the start/stop callbacks, so that representors are created/ destroyed when vNICs are fully initialized. Fixes: 5de73ee46704 ("nfp: general representor implementation") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions