summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-19 17:15:16 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-19 17:15:16 +0200
commit67fc4a906aa73700ce84edaceb7fee189ba3771f (patch)
tree2f83494605e0e7c102d38df7f2be74535f3d6f61 /pcap_io.h
parentfc4646bc31e37c3e48d772fe11035f82277ece24 (diff)
netsniff-ng: nlmsg: Display "(none)" instead of "()" for zero flags
nl_nlmsg_flags2str() returns an empty string if the provided flags argument is 0. Check this condition and display "none" instead to make the output nicer to read. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_io.h')
0 files changed, 0 insertions, 0 deletions
units of seconds since boot, not unix time. The use of get_seconds() here therefore sets the expiry time decades in the future. This prevents timely freeing of contexts destroyed by client RPC_GSS_PROC_DESTROY requests. We'd still free them eventually (when the module is unloaded or the container shut down), but a lot of contexts could pile up before then. Cc: stable@vger.kernel.org Fixes: c5b29f885afe "sunrpc: use seconds since boot in expiry cache" Reported-by: Andy Adamson <andros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/tests/perf-time-to-tsc.c')