Re: [PATCH net] ipv6: sr: remove duplicate routing header type check

2017-09-11 Thread David Miller
From: David Lebrun Date: Sun, 10 Sep 2017 14:22:01 +0100 > From: David Lebrun > > As seg6_validate_srh() already checks that the Routing Header type is > correct, it is not necessary to do it again in get_srh(). > > Fixes: 5829d70b ("ipv6: sr: fix get_srh() to comply with IPv6 standard "RFC >

[PATCH net] ipv6: sr: remove duplicate routing header type check

2017-09-10 Thread David Lebrun
From: David Lebrun As seg6_validate_srh() already checks that the Routing Header type is correct, it is not necessary to do it again in get_srh(). Fixes: 5829d70b ("ipv6: sr: fix get_srh() to comply with IPv6 standard "RFC 8200") Signed-off-by: David Lebrun --- net/ipv6/seg6_local.c | 4

Re: [PATCH net] ipv6: sr: remove duplicate routing header type check

2017-09-10 Thread David Lebrun
Please ignore this one, resending with proper From lines. David

[PATCH net] ipv6: sr: remove duplicate routing header type check

2017-09-10 Thread David Lebrun
From: David Lebrun From: David Lebrun As seg6_validate_srh() already checks that the Routing Header type is correct, it is not necessary to do it again in get_srh(). Fixes: 5829d70b ("ipv6: sr: fix get_srh() to comply with IPv6 standard "RFC 8200") Signed-off-by: David Lebrun --- net/ipv6/s