skbuff: Make __skb_set_sw_hash a general function
authorTom Herbert <tom@herbertland.com>
Tue, 1 Sep 2015 16:24:24 +0000 (09:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Sep 2015 22:06:22 +0000 (15:06 -0700)
commitbcc83839ffdb063dd2b0370cd85c4f825761fc59
tree060ce8e2ec5d30607e3bad22a680b225e264143c
parente5276937ae6e654a811345f0716266f12e77bede
skbuff: Make __skb_set_sw_hash a general function

Move __skb_set_sw_hash to skbuff.h and add __skb_set_hash which is
a common method (between __skb_set_sw_hash and skb_set_hash) to set
the hash in an skbuff.

Also, move skb_clear_hash to be closer to __skb_set_hash.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/flow_dissector.h
net/core/flow_dissector.c