Re: Notifier chains bug ?

From: AmÃrico Wang
Date: Mon Mar 01 2010 - 22:24:32 EST


On Tue, Mar 2, 2010 at 8:08 AM, Oleg Kutkov <elenbert@xxxxxxxxx> wrote:
> Hello.
> I try to used notifier chains for monitoring network devices events.
> All works perfectly when just i'm connecting/disconnecting network cable or
> up/down interface via ifconfig.
> But when i try to change interface address - nothing happens. Notifier is
> don't send any events :(

I think you mean IP address? No, NETDEV_CHANGEADDR is for hardware
address, not for IP address.

If you were changing mac address, you will receive NETDEV_CHANGEADDR.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/