diff options
| author | Jakub Kicinski <[email protected]> | 2017-12-22 19:36:06 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2017-12-23 00:09:52 +0000 |
| commit | 8207c6dd4746c345b689684c4cd0ce00a18c7ef2 (patch) | |
| tree | 36104aee2ea7b2b4a7326c369478890aad7243ef /lib/timerqueue.c | |
| parent | tools: bpftool: maps: close json array on error paths of show (diff) | |
| download | kernel-8207c6dd4746c345b689684c4cd0ce00a18c7ef2.tar.gz kernel-8207c6dd4746c345b689684c4cd0ce00a18c7ef2.zip | |
tools: bpftool: protect against races with disappearing objects
On program/map show we may get an ID of an object from GETNEXT,
but the object may disappear before we call GET_FD_BY_ID. If
that happens, ignore the object and continue.
Fixes: 71bb428fe2c1 ("tools: bpf: add bpftool")
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
