Files
android_kernel_xiaomi_sm8450/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
..
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-02-14 14:46:32 -05:00
2018-03-13 11:24:56 -04:00
2016-07-26 14:26:42 -07:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-03-17 17:11:46 -04:00
2018-02-14 14:46:33 -05:00