Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / net / ipv4 / fou.c
index af150b4..34968cd 100644 (file)
@@ -711,11 +711,10 @@ static int fou_nl_dump(struct sk_buff *skb, struct netlink_callback *cb)
                                    cb->nlh->nlmsg_seq, NLM_F_MULTI,
                                    skb, FOU_CMD_GET);
                if (ret)
-                       goto done;
+                       break;
        }
        mutex_unlock(&fn->fou_lock);
 
-done:
        cb->args[0] = idx;
        return skb->len;
 }