Re: [PATCH] ipv6/route: Add a missing check on proc_dointvec
From: David Miller
Date: Thu Dec 27 2018 - 19:18:33 EST
From: Aditya Pakki <pakki001@xxxxxxx>
Date: Mon, 24 Dec 2018 10:30:17 -0600
> While flushing the cache via ipv6_sysctl_rtcache_flush(), the call
> to proc_dointvec() may fail. The fix adds a check that returns the
> error, on failure.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>
Applied, but honestly running garbage collection even if the value
isn't change is completely harmless.