diff options
Diffstat (limited to 'net/sched/sch_sfq.c')
-rw-r--r-- | net/sched/sch_sfq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c index 02081bc9e0d1..e3695407afc6 100644 --- a/net/sched/sch_sfq.c +++ b/net/sched/sch_sfq.c | |||
@@ -152,7 +152,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb) | |||
152 | } | 152 | } |
153 | case __constant_htons(ETH_P_IPV6): | 153 | case __constant_htons(ETH_P_IPV6): |
154 | { | 154 | { |
155 | struct ipv6hdr *iph = skb->nh.ipv6h; | 155 | struct ipv6hdr *iph = ipv6_hdr(skb); |
156 | h = iph->daddr.s6_addr32[3]; | 156 | h = iph->daddr.s6_addr32[3]; |
157 | h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; | 157 | h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; |
158 | if (iph->nexthdr == IPPROTO_TCP || | 158 | if (iph->nexthdr == IPPROTO_TCP || |