diff options
author | 2011-10-22 18:15:26 +0200 | |
---|---|---|
committer | 2011-11-20 13:08:33 +0100 | |
commit | d099c2c541f003bfde9a9eda5519913b313c4c27 (patch) | |
tree | 1cee26067baf32ccebf12b5ff6b93698d3e1e363 /net/dsa | |
parent | batman-adv: fixed hash functions type to uint32_t instead of int (diff) | |
download | linux-dev-d099c2c541f003bfde9a9eda5519913b313c4c27.tar.xz linux-dev-d099c2c541f003bfde9a9eda5519913b313c4c27.zip |
batman-adv: directly write tt entries without buffering
When the translation tables (global and local) are written for debugfs,
it is not neccesary to allocate a buffer, we can directly use
seq_printf() to print them out.
This might actually be safer if the table changes between size
calculation and traversal, and we can't estimate the required size
wrong.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions