diff options
author | 2007-09-11 10:45:15 +0200 | |
---|---|---|
committer | 2007-09-11 10:45:15 +0200 | |
commit | a2221f308dabb95abb914ad858d36c2462705558 (patch) | |
tree | 13179de94495566dd4d66b2d0148722b5f46f6ca /net/decnet | |
parent | [IPV4] devinet: show all addresses assigned to interface (diff) | |
download | linux-a2221f308dabb95abb914ad858d36c2462705558.tar.gz linux-a2221f308dabb95abb914ad858d36c2462705558.tar.bz2 linux-a2221f308dabb95abb914ad858d36c2462705558.zip |
[DECNET]: Fix interface address listing regression.
Not all are listed, same as the IPV4 devinet bug.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_dev.c b/net/decnet/dn_dev.c index fa6604fcf0e7..8def68209edd 100644 --- a/net/decnet/dn_dev.c +++ b/net/decnet/dn_dev.c @@ -814,7 +814,7 @@ static int dn_nl_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb) for (ifa = dn_db->ifa_list, dn_idx = 0; ifa; ifa = ifa->ifa_next, dn_idx++) { if (dn_idx < skip_naddr) - goto cont; + continue; if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, RTM_NEWADDR, |