Skip to contentSkip to conversation

PATCH to bug #8876

PATCH Nikolay Kopitonenko 1 participant 1 message Sep 7, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi there!

Below is a fix for this:
http://bugzilla.kernel.org/show_bug.cgi?id=8876

Applies to any version since 2.6.22 to latest: 2.6.23-rc5-git1

please apply :)

-------------------------CUT---------------------

net/ipv4/devinet.c +1 -1
diff -urN a/net/ipv4/devinet.c b/net/ipv4/devinet.c
@@ -1193,7 +1193,7 @@
 		for (ifa = in_dev->ifa_list, ip_idx = 0; ifa;
 		     ifa = ifa->ifa_next, ip_idx++) {
 			if (ip_idx < s_ip_idx)
-				goto cont;
+				continue;
 			if (inet_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).pid,
 					     cb->nlh->nlmsg_seq,
 					     RTM_NEWADDR, NLM_F_MULTI) <= 0)

-------------------------/CUT---------------------

Signed-off-by [email protected]

Thanks

Nikolay Kopitonenko