diff options
author | Maciej Fijalkowski <[email protected]> | 2020-02-05 05:58:34 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-02-05 22:06:09 +0100 |
commit | 8ed47e140867a6e7d56170f325c8d4fdee6d6b66 (patch) | |
tree | d664c62878db152984cb9317a94e5d858515542b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 32c92c15ad3dca6f7cca8643766ad79fa3ab3d17 (diff) |
samples: bpf: Allow for -ENETDOWN in xdpsock
ndo_xsk_wakeup() can return -ENETDOWN and there's no particular reason
to bail the whole application out on that case. Let's check in kick_tx()
whether errno was set to mentioned value and basically allow application
to further process frames.
Fixes: 248c7f9c0e21 ("samples/bpf: convert xdpsock to use libbpf for AF_XDP access")
Reported-by: Cameron Elliott <[email protected]>
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions