summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6mr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6mr.c')
-rw-r--r--net/ipv6/ip6mr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 722669754bbf..34b682617f50 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -2388,7 +2388,8 @@ static int ip6mr_fill_mroute(struct mr6_table *mrt, struct sk_buff *skb,
2388 if (err < 0 && err != -ENOENT) 2388 if (err < 0 && err != -ENOENT)
2389 goto nla_put_failure; 2389 goto nla_put_failure;
2390 2390
2391 return nlmsg_end(skb, nlh); 2391 nlmsg_end(skb, nlh);
2392 return 0;
2392 2393
2393nla_put_failure: 2394nla_put_failure:
2394 nlmsg_cancel(skb, nlh); 2395 nlmsg_cancel(skb, nlh);