linux-xiaomi-chiron/net/tipc
GhantaKrishnamurthy MohanKrishna 872619d8cf tipc: step sk->sk_drops when rcv buffer is full
Currently when tipc is unable to queue a received message on a
socket, the message is rejected back to the sender with error
TIPC_ERR_OVERLOAD. However, the application on this socket
has no knowledge about these discards.

In this commit, we try to step the sk_drops counter when tipc
is unable to queue a received message. Export sk_drops
using tipc socket diagnostics.

Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-22 14:43:37 -04:00
..
addr.c tipc: obsolete TIPC_ZONE_SCOPE 2018-03-17 17:11:46 -04:00
addr.h tipc: obsolete TIPC_ZONE_SCOPE 2018-03-17 17:11:46 -04:00
bcast.c tipc: bcast: use true and false for boolean values 2018-03-07 12:18:00 -05:00
bcast.h
bearer.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-02-19 18:46:11 -05:00
bearer.h
core.c net: Convert tipc_net_ops 2018-03-13 11:24:56 -04:00
core.h tipc: remove zone publication list in name table 2018-03-17 17:11:46 -04:00
diag.c tipc: implement socket diagnostics for AF_TIPC 2018-03-22 14:43:35 -04:00
discover.c
discover.h
eth_media.c
group.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
group.h
ib_media.c
Kconfig tipc: implement socket diagnostics for AF_TIPC 2018-03-22 14:43:35 -04:00
link.c
link.h
Makefile tipc: implement socket diagnostics for AF_TIPC 2018-03-22 14:43:35 -04:00
monitor.c
monitor.h
msg.c tipc: obsolete TIPC_ZONE_SCOPE 2018-03-17 17:11:46 -04:00
msg.h
name_distr.c tipc: some name changes 2018-03-17 17:11:46 -04:00
name_distr.h tipc: some name changes 2018-03-17 17:11:46 -04:00
name_table.c tipc: some name changes 2018-03-17 17:11:46 -04:00
name_table.h tipc: some name changes 2018-03-17 17:11:46 -04:00
net.c tipc: obsolete TIPC_ZONE_SCOPE 2018-03-17 17:11:46 -04:00
net.h
netlink.c
netlink.h
netlink_compat.c
node.c
node.h
socket.c tipc: step sk->sk_drops when rcv buffer is full 2018-03-22 14:43:37 -04:00
socket.h tipc: implement socket diagnostics for AF_TIPC 2018-03-22 14:43:35 -04:00
subscr.c tipc: rename tipc_server to tipc_topsrv 2018-02-16 15:26:34 -05:00
subscr.h tipc: rename tipc_server to tipc_topsrv 2018-02-16 15:26:34 -05:00
sysctl.c
topsrv.c tipc: don't call sock_release() in atomic context 2018-02-19 14:38:50 -05:00
topsrv.h tipc: rename tipc_server to tipc_topsrv 2018-02-16 15:26:34 -05:00
udp_media.c
udp_media.h