Re: [PATCH v4 net-next 1/6] net/ipv6: Refactor gateway validation on route add

2018-03-14 Thread Ido Schimmel
On Tue, Mar 13, 2018 at 08:29:36AM -0700, David Ahern wrote: > Move gateway validation code from ip6_route_info_create into > ip6_validate_gw. Code move plus adjustments to handle the potential > reset of dev and idev and to make checkpatch happy. > > Signed-off-by: David Ahern

[PATCH v4 net-next 1/6] net/ipv6: Refactor gateway validation on route add

2018-03-13 Thread David Ahern
Move gateway validation code from ip6_route_info_create into ip6_validate_gw. Code move plus adjustments to handle the potential reset of dev and idev and to make checkpatch happy. Signed-off-by: David Ahern --- net/ipv6/route.c | 120