summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-02-28 01:30:32 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-29 02:25:45 +0300
commit7c4a38bf1eba9398d03e706823ec3b08b0a960de (patch)
tree70bd81ccd65ac98aa0a2c80baaa033d4bab11416 /tools/perf/scripts/python/net_dropmonitor.py
parent73395b43819b00365f0971e0e0e023d9fb341346 (diff)
downloadlinux-7c4a38bf1eba9398d03e706823ec3b08b0a960de.tar.xz
tools: ynl: use MSG_DONTWAIT for getting notifications
To stick to libmnl wrappers in the past we had to use poll() to check if there are any outstanding notifications on the socket. This is no longer necessary, we can use MSG_DONTWAIT. Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Link: https://lore.kernel.org/r/20240227223032.1835527-16-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions