mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -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
|
|
@ -162,7 +162,7 @@ static void ebt_ulog(const struct sk_buff *skb, unsigned int hooknr,
|
|||
pm->version = EBT_ULOG_VERSION;
|
||||
do_gettimeofday(&pm->stamp);
|
||||
if (ub->qlen == 1)
|
||||
ub->skb->stamp = pm->stamp;
|
||||
skb_set_timestamp(ub->skb, &pm->stamp);
|
||||
pm->data_len = copy_len;
|
||||
pm->mark = skb->nfmark;
|
||||
pm->hook = hooknr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue