android_kernel_samsung_a7y1.../net/tipc
Jie Liu 38dd10d903 tipc: set sysctl_tipc_rmem and named_timeout right range
[ Upstream commit 4bcd4ec1017205644a2697bccbc3b5143f522f5f ]

We find that sysctl_tipc_rmem and named_timeout do not have the right minimum
setting. sysctl_tipc_rmem should be larger than zero, like sysctl_tcp_rmem.
And named_timeout as a timeout setting should be not less than zero.

Fixes: cc79dd1ba9c10 ("tipc: change socket buffer overflow control to respect sk_rcvbuf")
Fixes: a5325ae5b8bff ("tipc: add name distributor resiliency queue")
Signed-off-by: Jie Liu <liujie165@huawei.com>
Reported-by: Qiang Ning <ningqiang1@huawei.com>
Reviewed-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:41:27 +02:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
core.c tipc: fix ordering of tipc module init and exit routine 2020-04-07 13:12:30 +02:00
core.h
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: fix skb may be leaky in tipc_link_input 2020-04-07 12:42:58 +02:00
link.h
Makefile
msg.c
msg.h
name_distr.c tipc: add NULL pointer check before calling kfree_rcu 2020-04-06 21:35:27 +02:00
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink_compat.c tipc: fix link name length check 2020-04-07 12:43:38 +02:00
netlink.c
netlink.h
node.c
node.h
server.c
server.h
socket.c
socket.h
subscr.c tipc: fix modprobe tipc failed after switch order of device registration -v2 2020-04-06 18:20:58 +02:00
subscr.h tipc: fix modprobe tipc failed after switch order of device registration -v2 2020-04-06 18:20:58 +02:00
sysctl.c tipc: set sysctl_tipc_rmem and named_timeout right range 2020-04-07 13:41:27 +02:00
udp_media.c