diff options
-rw-r--r-- | net/sched/sch_sfq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c index 8734bb7280e3..86d8da0cbd02 100644 --- a/net/sched/sch_sfq.c +++ b/net/sched/sch_sfq.c | |||
@@ -144,6 +144,8 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb) | |||
144 | if (!(iph->frag_off&htons(IP_MF|IP_OFFSET)) && | 144 | if (!(iph->frag_off&htons(IP_MF|IP_OFFSET)) && |
145 | (iph->protocol == IPPROTO_TCP || | 145 | (iph->protocol == IPPROTO_TCP || |
146 | iph->protocol == IPPROTO_UDP || | 146 | iph->protocol == IPPROTO_UDP || |
147 | iph->protocol == IPPROTO_SCTP || | ||
148 | iph->protocol == IPPROTO_DCCP || | ||
147 | iph->protocol == IPPROTO_ESP)) | 149 | iph->protocol == IPPROTO_ESP)) |
148 | h2 ^= *(((u32*)iph) + iph->ihl); | 150 | h2 ^= *(((u32*)iph) + iph->ihl); |
149 | break; | 151 | break; |
@@ -155,6 +157,8 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb) | |||
155 | h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; | 157 | h2 = iph->saddr.s6_addr32[3]^iph->nexthdr; |
156 | if (iph->nexthdr == IPPROTO_TCP || | 158 | if (iph->nexthdr == IPPROTO_TCP || |
157 | iph->nexthdr == IPPROTO_UDP || | 159 | iph->nexthdr == IPPROTO_UDP || |
160 | iph->nexthdr == IPPROTO_SCTP || | ||
161 | iph->nexthdr == IPPROTO_DCCP || | ||
158 | iph->nexthdr == IPPROTO_ESP) | 162 | iph->nexthdr == IPPROTO_ESP) |
159 | h2 ^= *(u32*)&iph[1]; | 163 | h2 ^= *(u32*)&iph[1]; |
160 | break; | 164 | break; |