[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IPv6 over IPv4 tunneling and notification confusion?
Hi All,
The IPV6 over IPv4 driver is loaded in my kernel during load time.
I was experimenting with netdevice notifiers.
I observed that on doing
$ifconfig eth0 down
my notifier function is called twice instead of once.
If i do
$ifconfig eth0 up
my notifier function is again called but this time only once.
My assumption is, this is because of the IPv6 over IPv4 tunnelling
driver which makes a pseudo IPv6 device and is existent as sit0 along
with eth0.
When i bring the eth0 down it takes down sit0 first and then is shut
down. To kernel they are two device eth0 and sit0 , and thus two
notification events.
And only one when i do eht0 up, may be because i have built the eth0
driver statically into the kernel and thus a notification is generated
only for IPv6 tunnelling module during ifconfig eth0 up.
I know i am talking wrong mostly, but it my guess .
Any help, why is this happening this way?
Thanks
--psr
--
play the game
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ