From: Stephen Hemminger Date: Mon, 8 Oct 2007 06:57:45 +0000 (-0700) Subject: [PKT_SCHED] cls_u32: error code isn't been propogated properly X-Git-Tag: 2.1b_release~24838^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf1b803b01b00c3801e0aa373ba0305f8278e260;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [PKT_SCHED] cls_u32: error code isn't been propogated properly Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 8dbe369..d4d5d2f 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -502,7 +502,7 @@ static int u32_set_parms(struct tcf_proto *tp, unsigned long base, #ifdef CONFIG_NET_CLS_IND if (tb[TCA_U32_INDEV-1]) { - int err = tcf_change_indev(tp, n->indev, tb[TCA_U32_INDEV-1]); + err = tcf_change_indev(tp, n->indev, tb[TCA_U32_INDEV-1]); if (err < 0) goto errout; }