skb_get_rxhash() assumes the network header pointer of the skb is set
properly after the commit:
commit
7e01d690f6702b270e7711b992971b4b4224f778
Author: Krishna Kumar <krkumar2@in.ibm.com>
Date: Wed Aug 4 06:15:52 2010 +0000
core: Factor out flow calculation from get_rps_cpu
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
if (!rxqueue->rps_map && !rxqueue->rps_flow_table)
goto done;
+ skb_reset_network_header(skb);
if (!skb_get_rxhash(skb))
goto done;