summaryrefslogtreecommitdiff
path: root/oui.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-08-24 14:46:02 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-08-24 14:46:02 +0200
commitd84a6b7139f3c6d0eb70615543cf368350000e5b (patch)
tree76b9db71792134e364913347c7977fc01723af5a /oui.h
parent71c28eff00a8a8896c45fa20330b623d265ae5c7 (diff)
netsniff-ng: Use correct flag to check tpacket uhdr validity
When fixing up a build error introduced by commit 579e8524 ("netsniff-ng: vlan: Show vlan info from tpacket v3"), the used definitions got mixed up and TP_STATUS_VLAN_TPID_VALID ended up not being checked at all. Fix this up and make the code a bit easier to read Fixes: 3384ee71 ("netsniff-ng: ring: Fix build if tp_vlan_tpid is not available in kernel header") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'oui.h')
0 files changed, 0 insertions, 0 deletions
>
A recent commit fixing DMA-buffers on stack added a shared transfer buffer protected by a spinlock. This is broken as the USB HID request callbacks can sleep. Fix this up by replacing the spinlock with a mutex. Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable") Cc: stable <stable@vger.kernel.org> # 4.9 Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/testing/selftests/x86/unwind_vdso.c')