Hi,
the sunrpc stats are collected in unsigned integers, but they are
printed with '%d'. That can result in negative numbers in
/proc/net/rpc when the highest bit of a counter is set. The following
patch changes '%d' to '%u' where appropriate.
Max
--- linux-2.6.13/net/sunrpc/stats.c.orig
Hi,
the sunrpc stats are collected in unsigned integers, but they are
printed with '%d'. That can result in negative numbers in
/proc/net/rpc when the highest bit of a counter is set. The following
patch changes '%d' to '%u' where appropriate.
Max
--- linux-2.6.13/net/sunrpc/stats.c.orig
2 matches
Mail list logo