Re: [PATCH] net: ipv6: check route protocol when deleting routes

From: David Ahern
Date: Tue Apr 25 2017 - 14:55:04 EST


On 4/24/17 3:48 AM, Lorenzo Colitti wrote:
> For non-stable kernels, it seems that the proper fix would be:
>
> 1. Ensure that when an RA creates a route, it properly sets
> rtm_protocol at time of route creation.
> 2. When we dump routes to userspace, we don't overwrite the rtm_protocol.

+1