[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111221.141138.2054196549674078174.davem@davemloft.net>
Date: Wed, 21 Dec 2011 14:11:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: wangxingtong@...fujitsu.com
Cc: gaofeng@...fujitsu.com, netdev@...r.kernel.org
Subject: Re: [PATCH V2] IPv6 : add multicast routing verify which
net_device is lo
From: Wang Xingtong <wangxingtong@...fujitsu.com>
Date: Wed, 21 Dec 2011 17:01:21 +0800
> OK, David, I reproduce this as following :
>
> 1) ip -6 route show | grep ff00
> unreachable ff00::/8 dev lo metric 1024 error -101
> ff00::/8 dev eth1 metric 1024
>
> 2) ip -6 route del ff00::/8 dev eth1
> ip -6 route del ff00::/8 dev lo
>
> 3) ip -6 route add ff00::/8 dev lo
> ip -6 route add ff00::/8 dev eth1
My answer is "Don't ever do that." The kernel sets up the
loopback device with all the necessary parameters you need
including the address, network prefix, and (once we revert
the recent bogus ipv6 autoconf patch) the multicast prefix.
There is no reason to ever explicit set the things that the
kernel takes care of for you.
That was exactly my point, the piece of userspace that has
started doing this needs to be fixed and we need to revert
Li Wei's recent patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists