Re: [PATCH] ipv6/route: Add a missing check on proc_dointvec

2018-12-27 Thread David Miller
From: Aditya Pakki 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 Applied, but honestly running garbage collect

[PATCH] ipv6/route: Add a missing check on proc_dointvec

2018-12-24 Thread Aditya Pakki
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 --- net/ipv6/route.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/ipv6/route.c b/n