Re: [PATCH net] ipv6: fix source routing

2017-04-25 Thread David Miller
From: Sabrina Dubroca 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 >

[PATCH net] ipv6: fix source routing

2017-04-25 Thread Sabrina Dubroca
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