net: restore tx timestamping for accelerated vlans
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 30 Sep 2009 23:42:42 +0000 (16:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2009 23:42:42 +0000 (16:42 -0700)
commit81bbb3d4048cf577b5babcb0834230de391a35c5
treecd22532d5acdff525c39881186fa96afd834c249
parent013820a360b63a0a18fa13afb858b9f1af7e64fe
net: restore tx timestamping for accelerated vlans

Since commit 9b22ea560957de1484e6b3e8538f7eef202e3596
( net: fix packet socket delivery in rx irq handler )

We lost rx timestamping of packets received on accelerated vlans.

Effect is that tcpdump on real dev can show strange timings, since it gets rx timestamps
too late (ie at skb dequeueing time, not at skb queueing time)

14:47:26.986871 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 1
14:47:26.986786 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 1

14:47:27.986888 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 2
14:47:27.986781 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 2

14:47:28.986896 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 3
14:47:28.986780 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 3

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c