linux_dsm_epyc7002/drivers/usb/mon
Johannes Stezenbach 236c448cb6 usbmon vs. tcpdump: fix dropped packet count
Report the number of dropped packets instead of zero
when using the binary usbmon interface with tcpdump.

# tcpdump -i usbmon1 -w dump
tcpdump: listening on usbmon1, link-type USB_LINUX_MMAPPED (USB with padded Linux header), capture size 65535 bytes
^C2155 packets captured
2155 packets received by filter
1019 packets dropped by kernel

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-26 15:36:07 -07:00
..
Kconfig USB: usbmon: drop Kconfig defaults 2009-09-23 06:46:19 -07:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
mon_bin.c usbmon vs. tcpdump: fix dropped packet count 2011-09-26 15:36:07 -07:00
mon_main.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
mon_stat.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
mon_text.c USB: mon: Allow to use usbmon without debugfs 2011-07-08 14:55:09 -07:00
usb_mon.h USB: usbmon: end ugly tricks with DMA peeking 2009-09-23 06:46:19 -07:00