ChangeSet 1.2181.38.1, 2005/03/29 02:45:52+02:00, [EMAIL PROTECTED]
Cset exclude: [EMAIL PROTECTED]|ChangeSet|20050325173452|50562
cls_fw.c | 5 ++---
cls_route.c | 5 ++---
cls_tcindex.c | 5 ++---
cls_u32.c | 2 +-
4 files changed, 7 insertions(+), 10 deletions(-)
diff -Nru a/net/sched/cls_fw.c b/net/sched/cls_fw.c
--- a/net/sched/cls_fw.c 2005-03-30 20:05:45 -08:00
+++ b/net/sched/cls_fw.c 2005-03-30 20:05:45 -08:00
@@ -338,9 +338,8 @@
rta->rta_len = skb->tail - b;
- if (f->exts.action && f->exts.action->type == TCA_OLD_COMPAT)
- if (tcf_exts_dump_stats(skb, &f->exts, &fw_ext_map) < 0)
- goto rtattr_failure;
+ if (tcf_exts_dump_stats(skb, &f->exts, &fw_ext_map) < 0)
+ goto rtattr_failure;
return skb->len;
diff -Nru a/net/sched/cls_route.c b/net/sched/cls_route.c
--- a/net/sched/cls_route.c 2005-03-30 20:05:45 -08:00
+++ b/net/sched/cls_route.c 2005-03-30 20:05:45 -08:00
@@ -599,9 +599,8 @@
rta->rta_len = skb->tail - b;
- if (f->exts.action && f->exts.action->type == TCA_OLD_COMPAT)
- if (tcf_exts_dump_stats(skb, &f->exts, &route_ext_map) < 0)
- goto rtattr_failure;
+ if (tcf_exts_dump_stats(skb, &f->exts, &route_ext_map) < 0)
+ goto rtattr_failure;
return skb->len;
diff -Nru a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c
--- a/net/sched/cls_tcindex.c 2005-03-30 20:05:45 -08:00
+++ b/net/sched/cls_tcindex.c 2005-03-30 20:05:45 -08:00
@@ -496,9 +496,8 @@
goto rtattr_failure;
rta->rta_len = skb->tail-b;
- if (r->exts.action && r->exts.action->type == TCA_OLD_COMPAT)
- if (tcf_exts_dump_stats(skb, &r->exts,
&tcindex_ext_map) < 0)
- goto rtattr_failure;
+ if (tcf_exts_dump_stats(skb, &r->exts, &tcindex_ext_map) < 0)
+ goto rtattr_failure;
}
return skb->len;
diff -Nru a/net/sched/cls_u32.c b/net/sched/cls_u32.c
--- a/net/sched/cls_u32.c 2005-03-30 20:05:45 -08:00
+++ b/net/sched/cls_u32.c 2005-03-30 20:05:45 -08:00
@@ -775,7 +775,7 @@
}
rta->rta_len = skb->tail - b;
- if (TC_U32_KEY(n->handle) && n->exts.action && n->exts.action->type ==
TCA_OLD_COMPAT)
+ if (TC_U32_KEY(n->handle))
if (tcf_exts_dump_stats(skb, &n->exts, &u32_ext_map) < 0)
goto rtattr_failure;
return skb->len;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html