aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-18 18:31:51 +0200
committerAdrian Bunk <bunk@kernel.org>2007-10-18 18:31:51 +0200
commit9bae2c81c89bed8ddf1334cc3b11ca65385163c0 (patch)
treea4d8aba42a06d49ffc276fcc8c736fd1d12dfbd2 /net
parentf772dcde07136d67393ad32b7572fdd7e180e556 (diff)
[PKT_SCHED] cls_u32: error code isn't been propogated properly
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/sched/cls_u32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
index 2b670479dde..64de9fa1c38 100644
--- a/net/sched/cls_u32.c
+++ b/net/sched/cls_u32.c
@@ -522,7 +522,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;
}