[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55a4f86e0910180037vb40b588qb02a6438a57f9875@mail.gmail.com>
Date: Sun, 18 Oct 2009 00:37:55 -0700
From: Maciej Żenczykowski <zenczykowski@...il.com>
To: Linux Networking <netdev@...r.kernel.org>,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: Question about IPV6 forwarding and proxy_ndp
Just a quick follow up.
The current logic for when to do proxy ndp seems to be:
network_device_is_forwarding && (global_proxy_ndp_is_on ||
network_device_is configured_for_proxy_ndp)
Maybe this should be:
(network_device_is_forwarding && global_proxy_ndp_is_on) ||
network_device_is configured_for_proxy_ndp
After all, if the admin has explicitly set proxy ndp on this specific
device, then maybe he knows best?
Alternatively it could also just be:
global_proxy_ndp_is_on || network_device_is configured_for_proxy_ndp
and not bother with checking forwarding at all.
[It should be pointed out that ipv6/conf/all/forwarding is a very
different beast than ipv6/conf/<device>/forwarding, the first globally
turns on ipv6 forwarding, the second switches a device between 'I am a
host' and 'I am a router' modes of operation]
--
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