PF_PACKET: packets out of order

From: Joerg Schumacher (schuma@gaertner.de)
Date: Mon Oct 08 2001 - 18:32:16 EST


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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:21 EST