~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to net/sched/act_skbedit.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
                pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind,
114
114
                                     &skbedit_idx_gen, &skbedit_hash_info);
115
115
                if (IS_ERR(pc))
116
 
                    return PTR_ERR(pc);
 
116
                        return PTR_ERR(pc);
117
117
 
118
118
                d = to_skbedit(pc);
119
119
                ret = ACT_P_CREATED;
144
144
        return ret;
145
145
}
146
146
 
147
 
static inline int tcf_skbedit_cleanup(struct tc_action *a, int bind)
 
147
static int tcf_skbedit_cleanup(struct tc_action *a, int bind)
148
148
{
149
149
        struct tcf_skbedit *d = a->priv;
150
150
 
153
153
        return 0;
154
154
}
155
155
 
156
 
static inline int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a,
157
 
                                int bind, int ref)
 
156
static int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a,
 
157
                            int bind, int ref)
158
158
{
159
159
        unsigned char *b = skb_tail_pointer(skb);
160
160
        struct tcf_skbedit *d = a->priv;