commit | d099c2c541f003bfde9a9eda5519913b313c4c27 | [log] [tgz] |
---|---|---|
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | Sat Oct 22 18:15:26 2011 +0200 |
committer | Sven Eckelmann <sven@narfation.org> | Sun Nov 20 13:08:33 2011 +0100 |
tree | 1cee26067baf32ccebf12b5ff6b93698d3e1e363 | |
parent | c90681b8505946761b55d4981c9c3b56b3c4171b [diff] |
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>