]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[DECNET]: Fix interface address listing regression.
authorPatrick McHardy <kaber@trash.net>
Tue, 11 Sep 2007 08:45:15 +0000 (10:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Sep 2007 08:45:15 +0000 (10:45 +0200)
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>
net/decnet/dn_dev.c

index fa6604fcf0e7875837180953c47db8bd42525098..8def68209edd48e95d23c19651e58c191ab41e60 100644 (file)
@@ -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,