aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorPatrick Talbert <[email protected]>2019-05-17 15:11:28 +0000
committerDavid S. Miller <[email protected]>2019-05-19 17:31:10 +0000
commitea9a03791a73e853897eda93e139018ca38f3c94 (patch)
tree476ac5b8a6585480fcac43801f706ed35a2abc4d /lib/test_stackinit.c
parentkselftests: netfilter: fix leftover net/net-next merge conflict (diff)
downloadkernel-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