[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121201.113706.939862337727720397.davem@davemloft.net>
Date: Sat, 01 Dec 2012 11:37:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: shmulik.ladkani@...il.com
Cc: netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org, tgraf@...g.ch,
tore@....no
Subject: Re: [PATCH v2] ipv6: unify logic evaluating inet6_dev's accept_ra
property
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
Date: Fri, 30 Nov 2012 22:25:59 +0200
> As of 026359b [ipv6: Send ICMPv6 RSes only when RAs are accepted], the
> logic determining whether to send Router Solicitations is identical
> to the logic determining whether kernel accepts Router Advertisements.
>
> However the condition itself is repeated in several code locations.
>
> Unify it by introducing 'ipv6_accept_ra()' accessor.
>
> Also, simplify the condition expression, making it more readable.
> No semantic change.
>
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
Applied.
--
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