summaryrefslogtreecommitdiffstats
path: root/net/tipc/netlink.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-07-11 23:35:01 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-07-12 16:13:12 +0200
commitf705ab956b3a0377181c9d73b235ad5bf4020937 (patch)
treeb54d99b3f945160120c6d5d57e31fed2e93b3829 /net/tipc/netlink.c
parenttipc: factor stats struct out of the larger link struct (diff)
downloadlinux-f705ab956b3a0377181c9d73b235ad5bf4020937.tar.xz
linux-f705ab956b3a0377181c9d73b235ad5bf4020937.zip
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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/netlink.c')
0 files changed, 0 insertions, 0 deletions