# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/03/29 02:45:52+02:00 tgraf@xxxxxxx # Cset exclude: hadi@xxxxxxxxxx|ChangeSet|20050325173452|50562 # # net/sched/cls_u32.c # 2005/03/29 02:45:46+02:00 tgraf@xxxxxxx +0 -0 # Exclude # # net/sched/cls_tcindex.c # 2005/03/29 02:45:46+02:00 tgraf@xxxxxxx +0 -0 # Exclude # # net/sched/cls_route.c # 2005/03/29 02:45:46+02:00 tgraf@xxxxxxx +0 -0 # Exclude # # net/sched/cls_fw.c # 2005/03/29 02:45:46+02:00 tgraf@xxxxxxx +0 -0 # Exclude # diff -Nru a/net/sched/cls_fw.c b/net/sched/cls_fw.c --- a/net/sched/cls_fw.c 2005-03-30 02:59:05 +02:00 +++ b/net/sched/cls_fw.c 2005-03-30 02:59:05 +02: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 02:59:05 +02:00 +++ b/net/sched/cls_route.c 2005-03-30 02:59:05 +02: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 02:59:05 +02:00 +++ b/net/sched/cls_tcindex.c 2005-03-30 02:59:05 +02: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 02:59:05 +02:00 +++ b/net/sched/cls_u32.c 2005-03-30 02:59:05 +02: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;