Skip to content
Commit f705ab95 authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

tipc: limit error messages relating to memory leak to one line



With the default name table size of 1024, it is possible that
the sanity check in tipc_nametbl_stop could spam out 1024
essentially identical error messages if memory was corrupted
or similar.  Limit it to issuing no more than a single message.

The actual chain number (i.e. 0 --> 1023) wouldn't provide any
useful insight if/when such an instance happened, so don't
bother printing out that value.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 7e9cab58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment