]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
batman-adv: generalise tt_local_reset_flags()
authorAntonio Quartulli <ordex@autistici.org>
Mon, 7 Nov 2011 15:47:01 +0000 (16:47 +0100)
committerSven Eckelmann <sven@narfation.org>
Sun, 20 Nov 2011 12:08:36 +0000 (13:08 +0100)
commit697f25314a923f75deef0d3b10991dd103f59d93
tree429c812893fea76a9644ce2a04513205a3f8e6e6
parent48100bac89a6161ca53dd65697fe635f77986686
batman-adv: generalise tt_local_reset_flags()

The tt_local_reset_flags() is actually used for one use case only. It is not
generalised enough to be used indifferent situations. This patch make it general
enough in order to let other code use it whenever a flag set is requested over
the whole hash table (passed as parameter). The function is now called
tt_set_flags()

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/translation-table.c