summaryrefslogtreecommitdiff
path: root/bpf.h
diff options
context:
space:
mode:
authorThomas Fleischmann <thomas.fleischmann.08@googlemail.com>2015-02-19 02:46:48 -0800
committerTobias Klauser <tklauser@distanz.ch>2016-01-21 18:35:13 +0100
commitf634c7420a9345987001c0e965c4d79057197f6f (patch)
treebf7adffad4682c0c040688697275b794de657cf3 /bpf.h
parent73928b158a1190c55b22418faf5cd3f3204108d1 (diff)
mausezahn: Fix reading of hex payload file
Using the option -F with mausezahn, to read input out of a hexfile, results in corrupt data transmitted (first byte will always be 0). Properly parse "payload="/p=" at the start of the file by the same method as used in layer3.c and layer4.c Closes #153 Reference: http://permalink.gmane.org/gmane.linux.network.netsniff-ng/600 Signed-off-by: Thomas Fleischmann <thomas.fleischmann.08@googlemail.com> Reported-by: Thomas De Schampheleire Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.h')
0 files changed, 0 insertions, 0 deletions
have if activate is used more than once (the GICv3 ITS, for example, uses the activate callback to issue the MAPVI command, and the architecture spec says that "If there is an existing mapping for the EventID-DeviceID combination, behavior is UNPREDICTABLE"). While this could be worked around in each individual driver, it may make more sense to tackle the issue at the core level. In order to avoid getting in that situation, let's have a per-interrupt flag to remember if we have already activated that interrupt or not. Fixes: f3b0946d629c ("genirq/msi: Make sure PCI MSIs are activated early") Reported-and-tested-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/1484668848-24361-1-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/ipv6/ip6_offload.c')