Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNF: Fix packet filtering with low snaplen. [skip ci]
This is the same type of bug as in DAG and elsewhere. icmp-rfc8335.pcap consists of short ICMP packets. tcpreplay is sending the file on myri0, which is connected to myri1. # tcpdump -D 1.myri0 (Myricom snf0) 2.myri1 (Myricom snf1) # tcpdump -ni myri1 -xx -c 1 -s 20 icmp Before: tcpdump: listening on myri1, link-type EN10MB (Ethernet), snapshot length 20 bytes ^C 0 packets captured 31 packets received by filter 0 packets dropped by kernel After: tcpdump: listening on myri1, link-type EN10MB (Ethernet), snapshot length 20 bytes 20:32:31.901409 IP [|ip] 0x0000: 5600 04a3 4c83 fe00 04a3 4c83 0800 4500 0x0010: 0030 29a3 1 packet captured 1 packet received by filter 0 packets dropped by kernel
- Loading branch information