diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 7b996ed86d5b..f902c331217b 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -414,6 +414,7 @@ struct sk_buff { | |||
414 | __u8 ndisc_nodetype:2; | 414 | __u8 ndisc_nodetype:2; |
415 | #endif | 415 | #endif |
416 | __u8 ooo_okay:1; | 416 | __u8 ooo_okay:1; |
417 | __u8 l4_rxhash:1; | ||
417 | kmemcheck_bitfield_end(flags2); | 418 | kmemcheck_bitfield_end(flags2); |
418 | 419 | ||
419 | /* 0/13 bit hole */ | 420 | /* 0/13 bit hole */ |
@@ -572,11 +573,11 @@ extern unsigned int skb_find_text(struct sk_buff *skb, unsigned int from, | |||
572 | unsigned int to, struct ts_config *config, | 573 | unsigned int to, struct ts_config *config, |
573 | struct ts_state *state); | 574 | struct ts_state *state); |
574 | 575 | ||
575 | extern __u32 __skb_get_rxhash(struct sk_buff *skb); | 576 | extern void __skb_get_rxhash(struct sk_buff *skb); |
576 | static inline __u32 skb_get_rxhash(struct sk_buff *skb) | 577 | static inline __u32 skb_get_rxhash(struct sk_buff *skb) |
577 | { | 578 | { |
578 | if (!skb->rxhash) | 579 | if (!skb->rxhash) |
579 | skb->rxhash = __skb_get_rxhash(skb); | 580 | __skb_get_rxhash(skb); |
580 | 581 | ||
581 | return skb->rxhash; | 582 | return skb->rxhash; |
582 | } | 583 | } |