提交 b917783c 编写于 作者: F Florian Westphal 提交者: David S. Miller

flow_dissector: __skb_get_hash_symmetric arg can be const

Signed-off-by: NFlorian Westphal <fw@strlen.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5ea8ea2c
...@@ -1086,7 +1086,7 @@ __skb_set_sw_hash(struct sk_buff *skb, __u32 hash, bool is_l4) ...@@ -1086,7 +1086,7 @@ __skb_set_sw_hash(struct sk_buff *skb, __u32 hash, bool is_l4)
} }
void __skb_get_hash(struct sk_buff *skb); void __skb_get_hash(struct sk_buff *skb);
u32 __skb_get_hash_symmetric(struct sk_buff *skb); u32 __skb_get_hash_symmetric(const struct sk_buff *skb);
u32 skb_get_poff(const struct sk_buff *skb); u32 skb_get_poff(const struct sk_buff *skb);
u32 __skb_get_poff(const struct sk_buff *skb, void *data, u32 __skb_get_poff(const struct sk_buff *skb, void *data,
const struct flow_keys *keys, int hlen); const struct flow_keys *keys, int hlen);
......
...@@ -723,7 +723,7 @@ EXPORT_SYMBOL(make_flow_keys_digest); ...@@ -723,7 +723,7 @@ EXPORT_SYMBOL(make_flow_keys_digest);
static struct flow_dissector flow_keys_dissector_symmetric __read_mostly; static struct flow_dissector flow_keys_dissector_symmetric __read_mostly;
u32 __skb_get_hash_symmetric(struct sk_buff *skb) u32 __skb_get_hash_symmetric(const struct sk_buff *skb)
{ {
struct flow_keys keys; struct flow_keys keys;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册