diff options
Diffstat (limited to 'net/sched/cls_basic.c')
-rw-r--r-- | net/sched/cls_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 58444fedf06e..0c872a76c4b0 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c | |||
@@ -150,7 +150,7 @@ static inline int basic_set_parms(struct tcf_proto *tp, struct basic_filter *f, | |||
150 | goto errout; | 150 | goto errout; |
151 | 151 | ||
152 | if (tb[TCA_BASIC_CLASSID]) { | 152 | if (tb[TCA_BASIC_CLASSID]) { |
153 | f->res.classid = *(u32*)nla_data(tb[TCA_BASIC_CLASSID]); | 153 | f->res.classid = nla_get_u32(tb[TCA_BASIC_CLASSID]); |
154 | tcf_bind_filter(tp, &f->res, base); | 154 | tcf_bind_filter(tp, &f->res, base); |
155 | } | 155 | } |
156 | 156 | ||