netdev
[Top] [All Lists]

Re: netlink sockets and rtm_newlink messages

To: <kuznet@xxxxxxxxxxxxx>
Subject: Re: netlink sockets and rtm_newlink messages
From: jamal <hadi@xxxxxxxxxx>
Date: Sun, 29 Sep 2002 11:09:10 -0400 (EDT)
Cc: "Patrick R. McManus" <mcmanus@xxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <200209271555.TAA21348@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Alexey,
So that you dont forget, heres the patch:

---------------------------------------------------
--- net/core/rtnetlink.c        2002/09/29 10:41:08     1.1
+++ net/core/rtnetlink.c        2002/09/29 10:41:58
@@ -496,7 +496,6 @@
                break;
        case NETDEV_UP:
        case NETDEV_DOWN:
-               rtmsg_ifinfo(RTM_NEWLINK, dev, IFF_UP|IFF_RUNNING);
                break;
        case NETDEV_CHANGE:
        case NETDEV_GOING_DOWN:
------------------

Wouldnt that spot be the best for NETDEV_UP/DOWN since thats the notifier
callback?
Also, can you remind me what if_change was for? netcarrier events?

cheers,
jamal

On Fri, 27 Sep 2002 kuznet@xxxxxxxxxxxxx wrote:

> Hello!
>
> > the messages weren't identical
>
> One of them is a mud. Apparently, I forgot to delete the line
> rtmsg_ifinfo(RTM_NEWLINK, dev, IFF_UP|IFF_RUNNING)
> in rtnetlink_event().
>
> Alexey
>
>
>


<Prev in Thread] Current Thread [Next in Thread>