[<prev] [next>] [day] [month] [year] [list]
Message-ID: <46E16450.6050608@yourserveradmin.com>
Date: Fri, 07 Sep 2007 17:46:40 +0300
From: Nikolay Kopitonenko <Nikolay.Kopitonenko@...rserveradmin.com>
To: netdev@...r.kernel.org
CC: linux-kernel@...r.kernel.org
Subject: PATCH to bug #8876
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---------------------
diff -urN a/net/ipv4/devinet.c b/net/ipv4/devinet.c
--- a/net/ipv4/devinet.c 2007-07-09 02:32:17.000000000 +0300
+++ b/net/ipv4/devinet.c 2007-08-10 20:33:22.000000000 +0300
@@ -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: Nikolay.Kopitonenko@...rserveradmin.com
Thanks
Nikolay Kopitonenko
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists