From: Stephen Hemminger <shemminger@osdl.org>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com, chas williams <chas@cmf.nrl.navy.mil>,
linux-atm-general@lists.sourceforge.net
Subject: [PATH] atm/clip device discovery on init not needed
Date: Wed, 14 Jan 2004 16:43:38 -0800 [thread overview]
Message-ID: <20040114164338.1f0d15e4.shemminger@osdl.org> (raw)
In-Reply-To: <20040113163631.1a9c1a59.davem@redhat.com>
Atm/clip driver was doing device list walk to find interfaces.
This will no longer be needed now that events are replayed when
register_netdevice_notifier is called (see earlier patch)
diff -Nru a/net/atm/clip.c b/net/atm/clip.c
--- a/net/atm/clip.c Wed Jan 14 16:27:05 2004
+++ b/net/atm/clip.c Wed Jan 14 16:27:05 2004
@@ -754,9 +754,6 @@
printk(KERN_ERR "register_netdevice_notifier failed\n");
if (register_inetaddr_notifier(&clip_inet_notifier))
printk(KERN_ERR "register_inetaddr_notifier failed\n");
- for (dev = clip_devs; dev; dev = PRIV(dev)->next)
- if (dev->flags & IFF_UP)
- (void) to_atmarpd(act_up,PRIV(dev)->number,0);
return 0;
}
next prev parent reply other threads:[~2004-01-15 0:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 18:58 [PATCH] (1/5) replay netdev notifier events on registration Stephen Hemminger
2004-01-14 0:36 ` David S. Miller
2004-01-15 0:40 ` [PATCH] decnet initialization race Stephen Hemminger
2004-01-15 8:45 ` David S. Miller
2004-01-15 0:43 ` Stephen Hemminger [this message]
2004-01-15 8:44 ` [PATH] atm/clip device discovery on init not needed David S. Miller
2004-01-15 22:59 ` Stephen Hemminger
2004-01-15 23:00 ` David S. Miller
2004-01-15 0:44 ` [PATCH] (1/5) replay netdev notifier events on registration Stephen Hemminger
2004-01-15 8:42 ` David S. Miller
2004-01-15 18:16 ` Stephen Hemminger
2004-01-15 19:51 ` David S. Miller
2004-01-16 3:19 ` chas williams
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=20040114164338.1f0d15e4.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=chas@cmf.nrl.navy.mil \
--cc=davem@redhat.com \
--cc=linux-atm-general@lists.sourceforge.net \
--cc=netdev@oss.sgi.com \
/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).