summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-13 02:11:13 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-09-21 09:54:41 +0200
commit573b1fff25af70492deb9e59c0b48d77b0c1ed03 (patch)
tree46457f4ea0f7fe6c95c025714e8e52b04de41d15 /timer.c
parentd5bcf8d0f5a2a549c3cbe71e7704bb557c7eb6a3 (diff)
trafgen: ipv4: Update csum at runtime if needed
Handle 'field_changed' callback to check if IPv4 csum is needed to be recalculated, if so - update it on 'packet_update' event. Added 'is_csum_valid' to proto_hdr struct to check if csum needs to be updated. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'timer.c')
0 files changed, 0 insertions, 0 deletions
e>
HID: cp2112: fix sleep-while-atomic
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/perf/design.txt')