summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-03 22:49:19 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-03 22:52:33 +0200
commitdc5f7a04f2b446b5224be356c2fc79e88a5d3e8f (patch)
tree1bde4c8eea045e789ea797117e7ab3b84aac7117 /netsniff-ng.c
parent0bc86fe938e8f6d12aca41a283491f51729d5c62 (diff)
irq: break out from xutils and save + restore
Break out IRQ functionality from xutils, simplify it, and save + restore IRQ affinity list. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 4d9abc8..899a148 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -32,6 +32,7 @@
#include "bpf.h"
#include "xio.h"
#include "die.h"
+#include "irq.h"
#include "geoip.h"
#include "tprintf.h"
#include "dissector.h"
@@ -1398,7 +1399,7 @@ int main(int argc, char **argv)
if (setsockmem)
reset_system_socket_memory(vals, array_size(vals));
destroy_geoip();
-
+ device_restore_irq_affinity_list();
tprintf_cleanup();
free(ctx.device_in);