Skip to content

Commit

Permalink
[PKT_SCHED] cls_u32: error code isn't been propogated properly
Browse files Browse the repository at this point in the history
    
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and davem330 committed Oct 8, 2007
1 parent 891e6a9 commit bf1b803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf1b803

Please sign in to comment.