diff options
author | Eric Dumazet <edumazet@google.com> | 2018-09-14 16:24:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-13 09:11:34 +0200 |
commit | ec7055c62714326c56dabcf7757069ac7f276bda (patch) | |
tree | ec2397011a176618e1a4414e0028d13a4bdb24a9 /include/linux | |
parent | c4c84454902516b7648a18d5173304da7dffa9d6 (diff) |
tcp: increment sk_drops for dropped rx packets
[ Upstream commit 532182cd610782db8c18230c2747626562032205 ]
Now ss can report sk_drops, we can instruct TCP to increment
this per socket counter when it drops an incoming frame, to refine
monitoring and debugging.
Following patch takes care of listeners drops.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions