Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32154
b: refs/heads/master
c: 4fe683f
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed Jul 6, 2006
1 parent 8e54434 commit e7e666e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d152b4e1e9a18f332ecd9e66492d706edc083345
refs/heads/master: 4fe683f50d3fc8e36d4749277631dfc711393aa0
6 changes: 4 additions & 2 deletions trunk/net/sched/act_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,17 @@ tcf_action_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref)
RTA_PUT(skb, a->order, 0, NULL);
err = tcf_action_dump_1(skb, a, bind, ref);
if (err < 0)
goto rtattr_failure;
goto errout;
r->rta_len = skb->tail - (u8*)r;
}

return 0;

rtattr_failure:
err = -EINVAL;
errout:
skb_trim(skb, b - skb->data);
return -err;
return err;
}

struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est,
Expand Down

0 comments on commit e7e666e

Please sign in to comment.