[PATCH v3] ipv6: Not to probe neighbourless routes

2019-08-29 Thread Cheng Lin
From: Cheng Lin Originally, Router Reachability Probing require a neighbour entry existed. Commit 2152caea7196 ("ipv6: Do not depend on rt->n in rt6_probe().") removed the requirement for a neighbour entry. And commit f547fac624be ("ipv6: rate-limit probes for neighbourless

[PATCH] proc/sysctl: fix return error for proc_doulongvec_minmax

2018-12-05 Thread Cheng Lin
max/proc_doulongvec_ms_jiffies_minmax just have one parameter. Signed-off-by: Cheng Lin --- kernel/sysctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 5fc724e..9ee261f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -2779,6 +2779,8 @@ static

[PATCH] proc/sysctl: fix return error for proc_doulongvec_minmax

2018-11-29 Thread Cheng Lin
If the number of input parameters is less than the total parameters, an INVAL error will be returned. This patch ensure no error returned in this condition, just like other interfaces do. Signed-off-by: Cheng Lin --- kernel/sysctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel

[PATCH v2] sched/numa: do not balance tasks onto isolated cpus

2018-07-26 Thread Cheng Lin
er isolated CPU currently. This patch ensure NUMA balancing not to balance tasks onto isolated Signed-off-by: Cheng Lin Reviewed-by: Tan Hu Reviewed-by: Jiang Biao --- v2: * rework and retest on latest kernel * detail the scenario in the commit log * fix the SoB chain kernel/sched/core.c | 9 ++--