diff options
author | Florian Westphal | 2015-07-08 23:32:12 +0200 |
---|---|---|
committer | David S. Miller | 2015-07-10 00:06:59 +0200 |
commit | 8b58a39846568dcd7d0c98b2fadc25018e59dedf (patch) | |
tree | 3d6a6c7a7fa43ca374991fe79bfe44d34e69b9d3 /include | |
parent | dsa: mv88e6352/mv88e6xxx: Add support for Marvell 88E6320 and 88E6321 (diff) | |
download | kernel-qcow2-linux-8b58a39846568dcd7d0c98b2fadc25018e59dedf.tar.gz kernel-qcow2-linux-8b58a39846568dcd7d0c98b2fadc25018e59dedf.tar.xz kernel-qcow2-linux-8b58a39846568dcd7d0c98b2fadc25018e59dedf.zip |
ipv6: use flag instead of u16 for hop in inet6_skb_parm
Hop was always either 0 or sizeof(struct ipv6hdr).
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 82806c60aa42..1319a6bb6b82 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -94,7 +94,6 @@ static inline struct ipv6hdr *ipipv6_hdr(const struct sk_buff *skb) struct inet6_skb_parm { int iif; __be16 ra; - __u16 hop; __u16 dst0; __u16 srcrt; __u16 dst1; @@ -111,6 +110,7 @@ struct inet6_skb_parm { #define IP6SKB_REROUTED 4 #define IP6SKB_ROUTERALERT 8 #define IP6SKB_FRAGMENTED 16 +#define IP6SKB_HOPBYHOP 32 }; #define IP6CB(skb) ((struct inet6_skb_parm*)((skb)->cb)) |