diff options
| author | Patrick Talbert <[email protected]> | 2019-05-17 15:11:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-19 17:31:10 +0000 |
| commit | ea9a03791a73e853897eda93e139018ca38f3c94 (patch) | |
| tree | 476ac5b8a6585480fcac43801f706ed35a2abc4d /lib/test_stackinit.c | |
| parent | kselftests: netfilter: fix leftover net/net-next merge conflict (diff) | |
| download | kernel-ea9a03791a73e853897eda93e139018ca38f3c94.tar.gz kernel-ea9a03791a73e853897eda93e139018ca38f3c94.zip | |
net: Treat sock->sk_drops as an unsigned int when printing
Currently, procfs socket stats format sk_drops as a signed int (%d). For large
values this will cause a negative number to be printed.
We know the drop count can never be a negative so change the format specifier to
%u.
Signed-off-by: Patrick Talbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions
