netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Kopitonenko <Nikolay.Kopitonenko@yourserveradmin.com>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: PATCH  to bug #8876
Date: Fri, 07 Sep 2007 17:46:40 +0300	[thread overview]
Message-ID: <46E16450.6050608@yourserveradmin.com> (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---------------------
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@yourserveradmin.com


Thanks

Nikolay Kopitonenko

                 reply	other threads:[~2007-09-07 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46E16450.6050608@yourserveradmin.com \
    --to=nikolay.kopitonenko@yourserveradmin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).