projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40c10f
)
net: Add skb_get_hash_raw
author
Tom Herbert
<therbert@google.com>
Wed, 15 Jan 2014 16:57:54 +0000
(08:57 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Jan 2014 00:22:54 +0000
(16:22 -0800)
Function to just return skb->rxhash without checking to see if it needs
to be recomputed.
Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/skbuff.h
b/include/linux/skbuff.h
index 48b760505cb61eb423857e17b1f23874da9dde33..1f689e62e4cbe58dac7a67e990009bf95e35e99c 100644
(file)
--- a/
include/linux/skbuff.h
+++ b/
include/linux/skbuff.h
@@
-771,6
+771,11
@@
static inline __u32 skb_get_hash(struct sk_buff *skb)
return skb->rxhash;
}
+static inline __u32 skb_get_hash_raw(const struct sk_buff *skb)
+{
+ return skb->rxhash;
+}
+
static inline void skb_clear_hash(struct sk_buff *skb)
{
skb->rxhash = 0;