mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04: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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
25ed891019
commit
a61bbcf28a
39 changed files with 172 additions and 88 deletions
|
|
@ -159,7 +159,7 @@ static int econet_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|||
err = memcpy_toiovec(msg->msg_iov, skb->data, copied);
|
||||
if (err)
|
||||
goto out_free;
|
||||
sk->sk_stamp = skb->stamp;
|
||||
skb_get_timestamp(skb, &sk->sk_stamp);
|
||||
|
||||
if (msg->msg_name)
|
||||
memcpy(msg->msg_name, skb->cb, msg->msg_namelen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue