]> git.hungrycats.org Git - linux/commitdiff
Fix decnet device address listing.
authorPatrick McHardy <kaber@trash.net>
Thu, 20 Sep 2007 19:32:09 +0000 (12:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:42 +0000 (10:54 -0700)
commit a2221f308dabb95abb914ad858d36c2462705558 in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/decnet/dn_dev.c

index ab41c1879fd498612f15e5356ab6a06a063d4050..d46e45398da11ef7df085db92f54dd00a84363c7 100644 (file)
@@ -815,7 +815,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,