diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index ce112d0f2698..f6e43ca5e641 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -2390,7 +2390,8 @@ static int rt_fill_info(struct net *net, __be32 dst, __be32 src, | |||
2390 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, error) < 0) | 2390 | if (rtnl_put_cacheinfo(skb, &rt->dst, 0, expires, error) < 0) |
2391 | goto nla_put_failure; | 2391 | goto nla_put_failure; |
2392 | 2392 | ||
2393 | return nlmsg_end(skb, nlh); | 2393 | nlmsg_end(skb, nlh); |
2394 | return 0; | ||
2394 | 2395 | ||
2395 | nla_put_failure: | 2396 | nla_put_failure: |
2396 | nlmsg_cancel(skb, nlh); | 2397 | nlmsg_cancel(skb, nlh); |