[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170425.135950.1293244907738125591.davem@davemloft.net>
Date: Tue, 25 Apr 2017 13:59:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
david.lebrun@...ouvain.be
Subject: Re: [PATCH net] ipv6: fix source routing
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Tue, 25 Apr 2017 15:56:50 +0200
> Commit a149e7c7ce81 ("ipv6: sr: add support for SRH injection through
> setsockopt") introduced handling of IPV6_SRCRT_TYPE_4, but at the same
> time restricted it to only IPV6_SRCRT_TYPE_0 and
> IPV6_SRCRT_TYPE_4. Previously, ipv6_push_exthdr() and fl6_update_dst()
> would also handle other values (ie STRICT and TYPE_2).
>
> Restore previous source routing behavior, by handling IPV6_SRCRT_STRICT
> and IPV6_SRCRT_TYPE_2 the same way as IPV6_SRCRT_TYPE_0 in
> ipv6_push_exthdr() and fl6_update_dst().
>
> Fixes: a149e7c7ce81 ("ipv6: sr: add support for SRH injection through setsockopt")
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
> Reviewed-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied, thanks.
Powered by blists - more mailing lists