summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipmr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r--net/ipv4/ipmr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index c8034587859d..9d78427652d2 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -2290,7 +2290,8 @@ static int ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb,
2290 if (err < 0 && err != -ENOENT) 2290 if (err < 0 && err != -ENOENT)
2291 goto nla_put_failure; 2291 goto nla_put_failure;
2292 2292
2293 return nlmsg_end(skb, nlh); 2293 nlmsg_end(skb, nlh);
2294 return 0;
2294 2295
2295nla_put_failure: 2296nla_put_failure:
2296 nlmsg_cancel(skb, nlh); 2297 nlmsg_cancel(skb, nlh);