From 4c6fefa7a90bc4f427bea254585ffd553d398a6e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 6 Sep 2005 15:48:03 -0700 Subject: [PATCH] --- yaml --- r: 7555 b: refs/heads/master c: f2c383988d68c91a7d474b7cf26c0a2df49bbafe h: refs/heads/master i: 7553: 265c1a403396e3dc5b18139a6e65bfd1809f8fd8 7551: 3a74a2cda73ffd357fb77f29094a10da0ace1164 v: v3 --- [refs] | 2 +- trunk/include/linux/skbuff.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index ea143a439691..db3e9f7843db 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 513c25000005257e5474f261bf27d4a3c1dff1e3 +refs/heads/master: f2c383988d68c91a7d474b7cf26c0a2df49bbafe diff --git a/trunk/include/linux/skbuff.h b/trunk/include/linux/skbuff.h index 42edce6abe23..da7da9c0ed1b 100644 --- a/trunk/include/linux/skbuff.h +++ b/trunk/include/linux/skbuff.h @@ -1251,7 +1251,7 @@ extern void skb_add_mtu(int mtu); * This function converts the offset back to a struct timeval and stores * it in stamp. */ -static inline void skb_get_timestamp(struct sk_buff *skb, struct timeval *stamp) +static inline void skb_get_timestamp(const struct sk_buff *skb, struct timeval *stamp) { stamp->tv_sec = skb->tstamp.off_sec; stamp->tv_usec = skb->tstamp.off_usec; @@ -1270,7 +1270,7 @@ static inline void skb_get_timestamp(struct sk_buff *skb, struct timeval *stamp) * This function converts a struct timeval to an offset and stores * it in the skb. */ -static inline void skb_set_timestamp(struct sk_buff *skb, struct timeval *stamp) +static inline void skb_set_timestamp(struct sk_buff *skb, const struct timeval *stamp) { skb->tstamp.off_sec = stamp->tv_sec - skb_tv_base.tv_sec; skb->tstamp.off_usec = stamp->tv_usec - skb_tv_base.tv_usec;