aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fou.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/fou.c')
-rw-r--r--net/ipv4/fou.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c
index af150b43b214..34968cd5c146 100644
--- a/net/ipv4/fou.c
+++ b/net/ipv4/fou.c
@@ -711,11 +711,10 @@ static int fou_nl_dump(struct sk_buff *skb, struct netlink_callback *cb)
711 cb->nlh->nlmsg_seq, NLM_F_MULTI, 711 cb->nlh->nlmsg_seq, NLM_F_MULTI,
712 skb, FOU_CMD_GET); 712 skb, FOU_CMD_GET);
713 if (ret) 713 if (ret)
714 goto done; 714 break;
715 } 715 }
716 mutex_unlock(&fn->fou_lock); 716 mutex_unlock(&fn->fou_lock);
717 717
718done:
719 cb->args[0] = idx; 718 cb->args[0] = idx;
720 return skb->len; 719 return skb->len;
721} 720}