search for: __net_timestamp

Displaying 1 result from an estimated 1 matches for "__net_timestamp".

2019 Apr 04
0
[Bug 1332] New: Time-matching extension (--match time) broken by timestamping changes in kernel 4.20 and later
...gt;tstamp (skb->skb_mstamp_ns) */ Now that the timestamp no longer is cleared, this will end up causing incorrect matching in function 'time_mt()' (in "net/netfilter/xt_time.c"). The "problem" is present in the following two lines of code: if (skb->tstamp == 0) __net_timestamp((struct sk_buff *)skb); The above code will check if the packet already has a timestamp or not. If the timestamp is missing, then the packet is timestamped with the current time. All subsequent time matching calculations then assume that the packet's timestamp is relative to the UNIX epoch (CL...