summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorFlorian Westphal2016-10-26 18:49:46 +0200
committerDavid S. Miller2016-10-29 21:10:21 +0200
commitb917783c7b350518f8c5d88bb5848aa8064408a6 (patch)
tree7d7493bd10bf3920095aa9243db539ab141b2460 /include/linux/skbuff.h
parenttcp/dccp: drop SYN packets if accept queue is full (diff)
downloadkernel-qcow2-linux-b917783c7b350518f8c5d88bb5848aa8064408a6.tar.gz
kernel-qcow2-linux-b917783c7b350518f8c5d88bb5848aa8064408a6.tar.xz
kernel-qcow2-linux-b917783c7b350518f8c5d88bb5848aa8064408a6.zip
flow_dissector: __skb_get_hash_symmetric arg can be const
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r--include/linux/skbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 601258f6e621..663fda2887f7 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -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);
-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, void *data,
const struct flow_keys *keys, int hlen);