]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix tt_global_entries flags update
authorAntonio Quartulli <ordex@autistici.org>
Wed, 7 Nov 2012 14:05:33 +0000 (15:05 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Fri, 16 Nov 2012 08:28:03 +0000 (09:28 +0100)
commit67b09c1113d769a1a90d81f35735be3503065c81
tree2eed4126c899f7907e57e57ef5bb71ed149f79ef
parentd3551d4db388e4ba9e579ad3ff25fccc9df48393
batman-adv: fix tt_global_entries flags update

Flags carried by a change_entry have to be always copied into the
client entry as they may contain important attributes (e.g.
TT_CLIENT_WIFI).

For instance, a client added by means of the "early detection
mechanism" has no flag set at the beginning, so they must be updated once the
proper ADD event is received.

This was introduced by 6e9d9d9e216d1b364697b0af4e2e5ddc85fea7fd
("batman-adv: detect not yet announced clients")

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/translation-table.c