Re: Notifier chains bug ?
From: AmÃrico Wang
Date: Tue Mar 02 2010 - 10:40:13 EST
On Tue, Mar 02, 2010 at 07:50:01AM +0200, Oleg Kutkov wrote:
>2010/3/2 AmÃrico Wang <xiyou.wangcong@xxxxxxxxx>:
>> On Tue, Mar 2, 2010 at 8:08 AM, Oleg Kutkov <elenbert@xxxxxxxxx> wrote:
>>> 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.
>Thank for quick answer.
>Yes, i mean IP address. And what about NETDEV_CHANGE ?
It is for rtnetlink state transition.
>Is there possible for monitoring IP address/netmask changing ?
Cc'ing netdev experts...
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/