Re: [tipc-discussion] tipc_sk_rcv: Kernel panic on one of the card on 4.4.0

2016-05-31 Thread Erik Hugne
On May 31, 2016 6:12 PM, "GUNA" wrote: > > Could you provide me the exact code change for rescheduling, so I > don't want to make any mistake. > Nope, I'm travelling now. But if you want to try the resched-timer-if-owned hack, use: sk_reset_timer(sk, >sk_timer, (HZ / 20));

Re: [tipc-discussion] tipc_sk_rcv: Kernel panic on one of the card on 4.4.0

2016-05-31 Thread Erik Hugne
On May 31, 2016 17:34, "GUNA" wrote: > > Which Erik's patch you are talking about? > Is this one, "tipc: fix timer handling when socket is owned" ? I think he was referring to my earlier suggestion to reschedule the timer if the socket is owned by user when it fires. The

Re: [tipc-discussion] tipc_sk_rcv: Kernel panic on one of the card on 4.4.0

2016-05-31 Thread GUNA
Just want to clarify, system was upgraded only the kernel from 3.4.2 to 4.4.0 + some tipc patches on Fedora distribution. That said, the patch, "net: do not block BH while processing socket backlog" is not part of the 4.4.0. So, the issue is not due to this commit. If the patch, "tipc: block BH

[tipc-discussion] [PATCH iproute2 v2 9/9] tipc: add link monitor list

2016-05-31 Thread Parthasarathy Bhuvaragan
In this commit, we list the monitor attributes for the specified bearer. A sample usage is shown below: $ tipc link monitor list media eth device data0 Node StateApplied Node Status [Non-Applied Node:Status] S D Dom 510152025303540

[tipc-discussion] [PATCH iproute2 v2 8/9] tipc: export some bearer helper functions

2016-05-31 Thread Parthasarathy Bhuvaragan
In this commit, we export the following helpers from bearer: print_bearer_media() and cmd_get_unique_bearer_name(). These will be used by link monitor used in subsequent commits. Signed-off-by: Parthasarathy Bhuvaragan --- tipc/bearer.c | 14 ++

[tipc-discussion] [PATCH iproute2 v2 5/9] tipc: add link monitor set threshold

2016-05-31 Thread Parthasarathy Bhuvaragan
The command sets the activation threshold for the new cluster ring supervision. A sample usage is shown below: $ tipc link monitor set threshold 4 $ tipc link monitor set -h Usage: tipc monitor set PPROPERTY PROPERTIES threshold SIZE - Set activation threshold for monitor Signed-off-by:

[tipc-discussion] [PATCH iproute2 v2 3/9] tipc: validate bearer arguments early

2016-05-31 Thread Parthasarathy Bhuvaragan
In this commit, we validate the arguments as early as possible. There is no functional change. Signed-off-by: Parthasarathy Bhuvaragan --- tipc/bearer.c | 51 ++- 1 file changed, 26 insertions(+), 25

[tipc-discussion] [PATCH iproute2 v2 1/9] tipc: remove dead code

2016-05-31 Thread Parthasarathy Bhuvaragan
remove dead code and a newline. Signed-off-by: Parthasarathy Bhuvaragan --- tipc/link.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tipc/link.c b/tipc/link.c index 89fb4ff4e7f9..a9d256e1b9a8 100644 --- a/tipc/link.c +++ b/tipc/link.c @@ -90,7

[tipc-discussion] [PATCH iproute2 v2 4/9] tipc: fix bearer operations with media=ib

2016-05-31 Thread Parthasarathy Bhuvaragan
In this commit, we fix several bearer operations for infiniband media in a generic way. Signed-off-by: Parthasarathy Bhuvaragan --- tipc/bearer.c | 257 ++ 1 file changed, 152 insertions(+), 105