PF_PACKET: packets out of order

Joerg Schumacher (schuma@gaertner.de)
Tue, 9 Oct 2001 01:32:16 +0200 (MET DST)


Hi!

NeTraMet v44b10 uses pcap(3) and complains about timestamps jumping
backwards. Looks like a PF_PACKET socket doesn't receive the packets
in the correct order. Some timestamps from a "tcpdump -tt":

RX: 1001465480.175100 [...]
TX: 1001465480.179111 [...]
RX: 1001465480.177315 [...]
^^^^^^
TX: 1001465480.180514 [...]
RX: 1001465480.179706 [...]

Some more figures (obtained with a quick hack using libpcap-2001.09.25
on two different machines):

2.2.19:
stats: 100000 packets received
0 packets dropped
good: 90222 packets
bad: 9778 packets
max delta: 15850 usec

2.4.1:
stats: 100000 packets received
0 packets dropped
good: 99538 packets
bad: 462 packets
max delta: 471 usec

Any plans to fix this in the kernel?

Regards,
Joerg

-- 
 Gaertner Datensysteme                         38114 Braunschweig 
 Joerg Schumacher                              Hamburger Str. 273a
 Tel: 0531-2335555                             Fax: 0531-2335556
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/