diff options
author | Florian Westphal <fw@strlen.de> | 2015-07-08 23:32:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-09 15:06:59 -0700 |
commit | 8b58a39846568dcd7d0c98b2fadc25018e59dedf (patch) | |
tree | 3d6a6c7a7fa43ca374991fe79bfe44d34e69b9d3 /include/linux/ipv6.h | |
parent | 7c3d0d67d5ddb2aeb3fdae540a567a56c2831d2a (diff) | |
download | lwn-8b58a39846568dcd7d0c98b2fadc25018e59dedf.tar.gz lwn-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/linux/ipv6.h')
-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)) |