Repository navigation
Commit f0fb9b2
ipv6/route: Add a missing check on proc_dointvec
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@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent dc4501f commit f0fb9b2
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5054 | 5054 | | |
5055 | 5055 | | |
5056 | 5056 | | |
| 5057 | + | |
5057 | 5058 | | |
5058 | 5059 | | |
5059 | 5060 | | |
5060 | 5061 | | |
5061 | 5062 | | |
5062 | | - | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
5063 | 5067 | | |
5064 | 5068 | | |
5065 | 5069 | | |
| |||
0 commit comments