android_kernel_samsung_a7y1.../net
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
..
6lowpan
9p 9p/virtio: Add cleanup path in p9_virtio_init 2020-04-06 20:04:29 +02:00
802
8021q vlan: fix memory leak in vlan_dev_set_egress_priority 2020-04-07 13:29:16 +02:00
appletalk appletalk: Set error code if register_snap_client failed 2020-04-07 12:46:15 +02:00
atm
ax25 ax25: enforce CAP_NET_RAW for raw sockets 2020-04-07 07:37:32 +02:00
batman-adv batman-adv: Fix DAT candidate selection on little endian systems 2020-04-07 13:38:35 +02:00
bluetooth Bluetooth: delete a stray unlock 2020-04-07 13:24:53 +02:00
bridge netfilter: bridge: make sure to pull arp header in br_nf_forward_arp() 2020-04-07 13:23:58 +02:00
caif
can can: purge socket error queue on sock destruct 2020-04-06 19:16:48 +02:00
ceph
core net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
dcb
dccp dccp: Fix memleak in __feat_register_sp 2020-04-07 13:36:40 +02:00
decnet decnet: fix DN_IFREQ_SIZE 2020-04-07 12:42:56 +02:00
dns_resolver
dsa
ethernet net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
hsr hsr: reset network header when supervision frame is created 2020-04-07 13:36:48 +02:00
ieee802154 ieee802154: enforce CAP_NET_RAW for raw sockets 2020-04-07 07:37:35 +02:00
ipv4 tcp: fix marked lost packets not being retransmitted 2020-04-07 13:38:41 +02:00
ipv6 ipv6: drop incoming packets having a v4mapped source address 2020-04-07 08:07:05 +02:00
ipx
irda
iucv
key xfrm: clean up xfrm protocol checks 2020-04-06 21:34:53 +02:00
l2tp compat_ioctl: pppoe: fix PPPOEIOCSFWD handling 2020-04-06 20:28:29 +02:00
l3mdev
lapb lapb: fixed leak of control-blocks. 2020-04-06 19:03:42 +02:00
llc llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c) 2020-04-07 13:29:02 +02:00
mac80211 mac80211: Do not send Layer 2 Update frame before authorization 2020-04-07 13:36:18 +02:00
mac802154
mpls
mptcp
ncm
netfilter netfilter: fix a use-after-free in mtype_destroy() 2020-04-07 13:38:33 +02:00
netlabel
netlink
netrom netrom: hold sock when setting skb->destructor 2020-04-06 20:05:22 +02:00
nfc net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive() 2020-04-07 13:22:15 +02:00
openvswitch openvswitch: remove another BUG_ON() 2020-04-07 12:43:36 +02:00
packet af_packet: set defaule value for tmo 2020-04-07 13:22:07 +02:00
phonet
rds net/rds: Fix error handling in rds_ib_add_one() 2020-04-07 08:07:20 +02:00
rfkill rfkill: Fix incorrect check to avoid NULL pointer dereference 2020-04-07 13:28:52 +02:00
rose
rxrpc
sched pkt_sched: fq: do not accept silly TCA_FQ_QUANTUM 2020-04-07 13:29:08 +02:00
sctp sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY 2020-04-07 13:29:10 +02:00
sunrpc sunrpc: fix crash when cache_head become valid before update 2020-04-07 13:08:11 +02:00
switchdev
tipc tipc: set sysctl_tipc_rmem and named_timeout right range 2020-04-07 13:41:27 +02:00
unix net: fix warning in af_unix 2020-04-07 12:34:56 +02:00
vmw_vsock VSOCK: bind to random port for VMADDR_PORT_ANY 2020-04-07 12:41:40 +02:00
wimax
wireless cfg80211: check for set_wiphy_params 2020-04-07 13:38:48 +02:00
x25 net/x25: fix null_x25_address handling 2020-04-07 12:45:11 +02:00
xfrm xfrm: clean up xfrm protocol checks 2020-04-06 21:34:53 +02:00
compat.c
Kconfig
Makefile
socket.c compat_ioctl: handle SIOCOUTQNSD 2020-04-07 13:37:06 +02:00
sysctl_net.c