summaryrefslogtreecommitdiff
path: root/ring_rx.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-08 16:05:58 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-12-08 16:05:58 +0100
commit51e487b4b55a69581f2d27cbf148ff98c173eaf7 (patch)
tree4ba19f41b044df39ed4586ee82c377abe50f5813 /ring_rx.h
parentf474c5031e5b8c5833342a504c6e33941a5103f0 (diff)
netsniff-ng: proto_ipv4: Move sockaddr_in declarations to narrower scope
Move the sockaddr_in definitions and preparations to the scope where they're used, i.e. only if geoip is enabled and working. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_rx.h')
0 files changed, 0 insertions, 0 deletions
of the tracer. It is pinned to a single CPU and will move to the next CPU after each period of running. If the user modifies the migration thread's affinity, it will not change after that happens. The original code created the thread at the first instance it was called, but later was changed to destroy the thread after the tracer was finished, and would not be created until the next instance of the tracer was established. The code that initialized the affinity was only called on the initial instantiation of the tracer. After that, it was not initialized, and the previous affinity did not match the current newly created one, making it appear that the user modified the thread's affinity when it did not, and the thread failed to migrate again. Cc: stable@vger.kernel.org Fixes: 0330f7aa8ee6 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')