X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fcore%2Fflow_dissector.c;h=87577d447554336b33067ab6e2373c6bdd25b93d;hb=0a379e21c503b2ff66b44d588df9f231e9b0b9ca;hp=2fc5beaf578349cd543621a460bf2bb4eaa9d221;hpb=fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd;p=~andy%2Flinux diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 2fc5beaf578..87577d44755 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -202,12 +202,12 @@ static __always_inline u32 __flow_hash_1word(u32 a) } /* - * __skb_get_rxhash: calculate a flow hash based on src/dst addresses + * __skb_get_hash: calculate a flow hash based on src/dst addresses * and src/dst port numbers. Sets rxhash in skb to non-zero hash value * on success, zero indicates no valid hash. Also, sets l4_rxhash in skb * if hash is a canonical 4-tuple hash over transport ports. */ -void __skb_get_rxhash(struct sk_buff *skb) +void __skb_get_hash(struct sk_buff *skb) { struct flow_keys keys; u32 hash; @@ -234,7 +234,7 @@ void __skb_get_rxhash(struct sk_buff *skb) skb->rxhash = hash; } -EXPORT_SYMBOL(__skb_get_rxhash); +EXPORT_SYMBOL(__skb_get_hash); /* * Returns a Tx hash based on the given packet descriptor a Tx queues' number