logo       

Re: netlink sockets and rtm_newlink messages: msg#00341

Subject: Re: netlink sockets and rtm_newlink messages
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>