aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/cls_u32.c2
-rw-r--r--net/sched/sch_dsmark.c6
-rw-r--r--net/sched/sch_ingress.c4
-rw-r--r--net/sched/sch_prio.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
index 62e1deb27a17..c7a347bd6d70 100644
--- a/net/sched/cls_u32.c
+++ b/net/sched/cls_u32.c
@@ -436,7 +436,7 @@ static void u32_destroy(struct tcf_proto *tp)
436 BUG_TRAP(ht->refcnt == 0); 436 BUG_TRAP(ht->refcnt == 0);
437 437
438 kfree(ht); 438 kfree(ht);
439 }; 439 }
440 440
441 kfree(tp_c); 441 kfree(tp_c);
442 } 442 }
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c
index e38e0d00d1e6..3c6fd181263f 100644
--- a/net/sched/sch_dsmark.c
+++ b/net/sched/sch_dsmark.c
@@ -226,7 +226,7 @@ static int dsmark_enqueue(struct sk_buff *skb,struct Qdisc *sch)
226 default: 226 default:
227 skb->tc_index = 0; 227 skb->tc_index = 0;
228 break; 228 break;
229 }; 229 }
230 } 230 }
231 231
232 if (TC_H_MAJ(skb->priority) == sch->handle) 232 if (TC_H_MAJ(skb->priority) == sch->handle)
@@ -257,7 +257,7 @@ static int dsmark_enqueue(struct sk_buff *skb,struct Qdisc *sch)
257 if (p->default_index != NO_DEFAULT_INDEX) 257 if (p->default_index != NO_DEFAULT_INDEX)
258 skb->tc_index = p->default_index; 258 skb->tc_index = p->default_index;
259 break; 259 break;
260 }; 260 }
261 } 261 }
262 262
263 err = p->q->enqueue(skb,p->q); 263 err = p->q->enqueue(skb,p->q);
@@ -310,7 +310,7 @@ static struct sk_buff *dsmark_dequeue(struct Qdisc *sch)
310 "unsupported protocol %d\n", 310 "unsupported protocol %d\n",
311 ntohs(skb->protocol)); 311 ntohs(skb->protocol));
312 break; 312 break;
313 }; 313 }
314 314
315 return skb; 315 return skb;
316} 316}
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c
index ad22dc6af22a..f8b9f1cdf738 100644
--- a/net/sched/sch_ingress.c
+++ b/net/sched/sch_ingress.c
@@ -170,7 +170,7 @@ static int ingress_enqueue(struct sk_buff *skb,struct Qdisc *sch)
170 skb->tc_index = TC_H_MIN(res.classid); 170 skb->tc_index = TC_H_MIN(res.classid);
171 result = TC_ACT_OK; 171 result = TC_ACT_OK;
172 break; 172 break;
173 }; 173 }
174/* backward compat */ 174/* backward compat */
175#else 175#else
176#ifdef CONFIG_NET_CLS_POLICE 176#ifdef CONFIG_NET_CLS_POLICE
@@ -187,7 +187,7 @@ static int ingress_enqueue(struct sk_buff *skb,struct Qdisc *sch)
187 sch->bstats.bytes += skb->len; 187 sch->bstats.bytes += skb->len;
188 result = NF_ACCEPT; 188 result = NF_ACCEPT;
189 break; 189 break;
190 }; 190 }
191 191
192#else 192#else
193 D2PRINTK("Overriding result to ACCEPT\n"); 193 D2PRINTK("Overriding result to ACCEPT\n");
diff --git a/net/sched/sch_prio.c b/net/sched/sch_prio.c
index 5cfe60bf6e25..269a6e17c6c4 100644
--- a/net/sched/sch_prio.c
+++ b/net/sched/sch_prio.c
@@ -62,7 +62,7 @@ prio_classify(struct sk_buff *skb, struct Qdisc *sch, int *qerr)
62 *qerr = NET_XMIT_SUCCESS; 62 *qerr = NET_XMIT_SUCCESS;
63 case TC_ACT_SHOT: 63 case TC_ACT_SHOT:
64 return NULL; 64 return NULL;
65 }; 65 }
66 66
67 if (!q->filter_list ) { 67 if (!q->filter_list ) {
68#else 68#else