diff options
author | GhantaKrishnamurthy MohanKrishna <[email protected]> | 2018-03-21 14:37:45 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-22 14:43:37 -0400 |
commit | 872619d8cf810c17279335ef531a2a34f3b4e589 (patch) | |
tree | 832466ed602f57586e25a2707d201e47d7bc2a9d /tools/perf/util/c++/clang.cpp | |
parent | c30b70deb5f4861f590031c33fd3ec6cc63f1df1 (diff) |
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 <[email protected]>
Acked-by: Ying Xue <[email protected]>
Signed-off-by: GhantaKrishnamurthy MohanKrishna <[email protected]>
Signed-off-by: Parthasarathy Bhuvaragan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions