[lkml]   [2003]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix up RTM_SETLINK handling
        Roland> To call the netdev notifier chain I had to make
    Roland> netdev_chain not be static. I added the declaration to
    Roland> <linux/netdevice.h> but I am open to other ways to give
    Roland> rtnetlink.c access to netdev_chain.

    David> Ummm, what is the problem with using
    David> register_netdevice_notifier()? It is precisely there so
    David> that netdev_chain need not be exported.

    do_setlink() needs to do the opposite of registering a notifier --
    it's changing an interface's address, so it needs to call the
    netdev_chain with NETDEV_CHANGEADDR (just like the handler for

    If you prefer, I could add a call_netdevice_notifiers() to dev.c and
    leave netdev_chain static. Just let me know and I'll make a new

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:32    [W:0.021 / U:13.852 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site