summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-10-01 13:42:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-10-01 13:42:12 +0200
commit07fa58ff28b700cf4bceb9f67db6af504f61a354 (patch)
tree7af88fef5b071218525aeb8a06b188827308d329 /netsniff-ng
parentac2c2cf23573e400e014628af22467ca43573c21 (diff)
netsniff-ng: Combine redundant pcap file rotation logic into function
The code to create the next pcap dump file is duplicated for the HAVE_TPACKET3 and !HAVE_TPACKET3 case. Consolidate the functionality into a function to reduce code duplication. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
private-remove&id=566cf877a1fcb6d6dc0126b076aad062054c2637'>566cf877a1fcb6d6dc0126b076aad062054c2637 (diff)parent586655d278ba08af7b198b93217746f9a506ee8a (diff)
Merge tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
Pull RTC fix from Alexandre Belloni: "A single fix for this cycle. It is worth taking it for 4.10 so that distributions will not have CONFIG_RTC_DRV_JZ4740 switching from m to y in their config. Summary: - Allow jz4740 to build as a module again by using kernel_halt()" * tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: jz4740: make the driver buildable as a module again
Diffstat (limited to 'tools/build/feature/test-sync-compare-and-swap.c')