On 5/13/19 9:31 AM, Willem de Bruijn wrote: >> >> +/* based on tcp_recv_timestamp */ > > Which itself is based on __sock_recv_timestamp. Which this resembles > even more closely, as both pass an skb. Instead of duplicating the > core code yet again, we can probably factor out and reuse it. Netlink > only does not need the SOF_TIMESTAMPING part. > >
agreed. My original version went down that path. I'll take another look for v2.