summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-06-29 11:27:28 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-06-29 11:33:40 +0200
commitc7d92d93ff8d942db93680655275ec1c60754b98 (patch)
tree4e8c2fc880573668ec8ba1a773082948ef3cbb81 /netsniff-ng
parent382bc0047d33ada5f4b33cab077aa369eb9cb7f7 (diff)
netsniff-ng: nlmsg: Define NTF_* constants if not provided by kernel headers
NTF_SELF and NTF_MASTER might not be defined on older kernel versions (as is e.g. the case in the Travis CI build failing [1]). Fix this by conditionally defining all NTF_* constants. [1] https://travis-ci.org/netsniff-ng/netsniff-ng/jobs/68779130 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
v class='commit-msg'>The recent commit which prevents double activation of interrupts unearthed interesting code in x86. The code (ab)uses irq_domain_activate_irq() to reconfigure an already activated interrupt. That trips over the prevention code now. Fix it by deactivating the interrupt before activating the new configuration. Fixes: 08d85f3ea99f1 "irqdomain: Avoid activating interrupts more than once" Reported-and-tested-by: Mike Galbraith <efault@gmx.de> Reported-and-tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701311901580.3457@nanos
Diffstat (limited to 'tools/perf/tests/perf-hooks.c')