summaryrefslogtreecommitdiff
path: root/cookie.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-29 15:43:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-29 15:43:17 +0200
commitae5ba8e4d67094e9c61c54669221be69bd232fa8 (patch)
treec993d790b88decc0ecbf65929353cdb8580b9fd5 /cookie.h
parent3bde6d40a3352f89b411a6c47a676ca7e201aef3 (diff)
netsniff-ng: Move variable definition
Save one #ifdef block by moving the tpacket v3 only variable definition to the block where it is actually used. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cookie.h')
0 files changed, 0 insertions, 0 deletions
hid: thingm: reorder calls in thingm_probe
When reviewing another thingm patch Benjamin Tissoires pointed out the following: "The problem here is that hid_hw_start() is called before thingm_version() which allows user space to briefly introduce races between thingm_version() and any hidraw requests. The mutex will not help here as it is initialized after hid_hw_start() and only used for protecting the concurrent access of the rgb." Avoid this possible issue by calling hid_hw_start() later in the probe function. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/men-chameleon-bus.txt')