aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 9efd9ffdc34c..bdd7eac4307a 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -583,7 +583,7 @@ static int inet6_netconf_get_devconf(struct sk_buff *in_skb,
583 if (err < 0) 583 if (err < 0)
584 goto errout; 584 goto errout;
585 585
586 err = EINVAL; 586 err = -EINVAL;
587 if (!tb[NETCONFA_IFINDEX]) 587 if (!tb[NETCONFA_IFINDEX])
588 goto errout; 588 goto errout;
589 589