aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-03-27 11:38:38 -0700
committerDavid S. Miller <[email protected]>2019-03-28 17:04:29 -0700
commitc8ba5b91a04e3e2643e48501c114108802f21cda (patch)
tree8390e791b4f606c2876adb0e836a52850926745a /tools/perf/scripts/python
parent355b98553789b646ed97ad801a619ff898471b92 (diff)
nfp: validate the return code from dev_queue_xmit()
dev_queue_xmit() may return error codes as well as netdev_tx_t, and it always consumes the skb. Make sure we always return a correct netdev_tx_t value. Fixes: eadfa4c3be99 ("nfp: add stats and xmit helpers for representors") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: John Hurley <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions