diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 34dcbb59df75..c60f15775c53 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2725,7 +2725,8 @@ static int rt6_fill_node(struct net *net, | |||
2725 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, rt->dst.error) < 0) | 2725 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, rt->dst.error) < 0) |
2726 | goto nla_put_failure; | 2726 | goto nla_put_failure; |
2727 | 2727 | ||
2728 | return nlmsg_end(skb, nlh); | 2728 | nlmsg_end(skb, nlh); |
2729 | return 0; | ||
2729 | 2730 | ||
2730 | nla_put_failure: | 2731 | nla_put_failure: |
2731 | nlmsg_cancel(skb, nlh); | 2732 | nlmsg_cancel(skb, nlh); |