Tom Herbert 7539fadcb8 net: Add utility functions to clear rxhash
In several places 'skb->rxhash = 0' is being done to clear the
rxhash value in an skb.  This does not clear l4_rxhash which could
still be set so that the rxhash wouldn't be recalculated on subsequent
call to skb_get_rxhash.  This patch adds an explict function to clear
all the rxhash related information in the skb properly.

skb_clear_hash_if_not_l4 clears the rxhash only if it is not marked as
l4_rxhash.

Fixed up places where 'skb->rxhash = 0' was being called.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-17 16:36:21 -05:00
..
2012-07-19 10:43:03 -07:00
2013-11-07 19:28:58 -05:00
2013-10-19 19:36:18 -04:00
2013-01-27 22:46:33 -05:00
2013-10-08 23:19:24 -04:00
2013-12-09 21:03:49 -05:00
2013-12-11 16:02:58 -05:00
2012-08-06 13:40:47 -07:00
2013-12-17 15:15:25 -05:00
2013-06-04 16:43:42 -07:00
2012-05-16 15:17:08 -04:00