[iproute-next v2] tipc: Add support to set and get MTU for UDP bearer

2018-05-08 Thread GhantaKrishnamurthy MohanKrishna
ARGS $ tipc bearer get [OPTION] media MEDIA ARGS The same has been extended for MTU, with an exception to support only media type UDP. Acked-by: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna --- tipc/bearer.c | 55 ++- tipc

[iproute2-next 1/1] tipc: Add support to set and get MTU for UDP bearer

2018-05-07 Thread GhantaKrishnamurthy MohanKrishna
ARGS $ tipc bearer get [OPTION] media MEDIA ARGS The same has been extended for MTU, with an exception to support only media type UDP. Acked-by: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna --- tipc/bearer.c | 55 ++- tipc

[net-next 2/3] tipc: implement configuration of UDP media MTU

2018-04-19 Thread GhantaKrishnamurthy MohanKrishna
: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna --- include/uapi/linux/tipc_netlink.h | 1 + net/tipc/bearer.c | 13 + net/tipc/bearer.h | 3 +++ net/tipc/udp_media.h | 14 ++ 4 files changed, 31 insertions

[net-next 0/3] tipc: Confgiuration of MTU for media UDP

2018-04-19 Thread GhantaKrishnamurthy MohanKrishna
with lower MTU GhantaKrishnamurthy MohanKrishna (3): tipc: set default MTU for UDP media tipc: implement configuration of UDP media MTU tipc: confgiure and apply UDP bearer MTU on running links include/uapi/linux/tipc_config.h | 5 + include/uapi/linux/tipc_netlink.h | 1 + net/tipc

[net-next 3/3] tipc: confgiure and apply UDP bearer MTU on running links

2018-04-19 Thread GhantaKrishnamurthy MohanKrishna
: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna --- net/tipc/bearer.c | 16 +++- net/tipc/node.c | 12 +--- net/tipc/node.h | 2 +- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index a22caf9e5a18

[net-next 1/3] tipc: set default MTU for UDP media

2018-04-19 Thread GhantaKrishnamurthy MohanKrishna
: GhantaKrishnamurthy MohanKrishna --- include/uapi/linux/tipc_config.h | 5 + net/tipc/udp_media.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/tipc_config.h b/include/uapi/linux/tipc_config.h index 3f29e3c8ed06..4b2c93b1934c 100644 --- a/include/uapi

[net-next 1/1] tipc: Fix namespace violation in tipc_sk_fill_sock_diag

2018-04-04 Thread GhantaKrishnamurthy MohanKrishna
: implement socket diagnostics for AF_TIPC) Reported-by: syzbot+326e587eff1074657...@syzkaller.appspotmail.com Acked-by: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna --- net/tipc/socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/tipc/socket.c b/net

[iproute2 0/1] iproute2: add TIPC statistics support in ss

2018-03-23 Thread GhantaKrishnamurthy MohanKrishna
:SEQPACKET cong:none drop:0 publ ESTAB 0 0 16781313:3203149317 16781313:484097386 type:STREAM cong:none drop:0 via {1000,1000} GhantaKrishnamurthy MohanKrishna (1): ss: Add support for TIPC socket diag in ss tool misc/ss.c | 166 +- 1 file changed, 164 insertions(+), 2 deletions(-) -- 2.1.4

[iproute2 1/1] ss: Add support for TIPC socket diag in ss tool

2018-03-23 Thread GhantaKrishnamurthy MohanKrishna
For iproute 4.x Allow TIPC socket statistics to be dumped with --tipc and tipc specific info with --tipcinfo. Acked-by: Jon Maloy Signed-off-by: GhantaKrishnamurthy MohanKrishna Signed-off-by: Parthasarathy Bhuvaragan --- misc/ss.c | 166

[net-next 0/3] tipc: socket diagnostics additions for AF_TIPC

2018-03-21 Thread GhantaKrishnamurthy MohanKrishna
. Required information about the sockets are exported. 3: Step sk_drops during packet drop. This occurs if the packet cannot be queued due to queue length exceeding configured thresholds. The diag module is optional, and if enabled it will be loaded on demand when needed. GhantaKrishnamurthy

[net-next 2/3] tipc: implement socket diagnostics for AF_TIPC

2018-03-21 Thread GhantaKrishnamurthy MohanKrishna
. - export tipc_sk_fill_sock_diag to fill the tipc diag attributes. - create a sock_diag response message in __tipc_add_sock_diag defined in diag.c and use the above exported tipc_sk_fill_sock_diag to fill response. Acked-by: Jon Maloy Acked-by: Ying Xue Signed-off-by: GhantaKrishnamurthy

[net-next 3/3] tipc: step sk->sk_drops when rcv buffer is full

2018-03-21 Thread GhantaKrishnamurthy MohanKrishna
queue a received message. Export sk_drops using tipc socket diagnostics. Acked-by: Jon Maloy Acked-by: Ying Xue Signed-off-by: GhantaKrishnamurthy MohanKrishna Signed-off-by: Parthasarathy Bhuvaragan --- include/uapi/linux/tipc_netlink.h | 1 + net/tipc/socket.c | 9

[net-next 1/3] tipc: modify socket iterator for sock_diag

2018-03-21 Thread GhantaKrishnamurthy MohanKrishna
__tipc_nl_add_sk_info. tipc_nl_sk_dump calls tipc_nl_sk_walk with __tipc_nl_add_sk as argument. sock_diag will use these generic functions in a later commit. There is no functional change in this commit. Acked-by: Jon Maloy Acked-by: Ying Xue Signed-off-by: GhantaKrishnamurthy MohanKrishna Signed-off-by