You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NET]: Store skb->timestamp as offset to a base timestamp
Reduces skb size by 8 bytes on 64-bit. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
25ed891019
commit
a61bbcf28a
+2
-2
@@ -1796,8 +1796,8 @@ static int ipx_recvmsg(struct kiocb *iocb, struct socket *sock,
|
||||
copied);
|
||||
if (rc)
|
||||
goto out_free;
|
||||
if (skb->stamp.tv_sec)
|
||||
sk->sk_stamp = skb->stamp;
|
||||
if (skb->tstamp.off_sec)
|
||||
skb_get_timestamp(skb, &sk->sk_stamp)
|
||||
|
||||
msg->msg_namelen = sizeof(*sipx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user