batman-adv: drop unicast packets from other backbone gw
authorAndreas Pape <APape@phoenixcontact.com>
Mon, 5 Sep 2016 11:20:27 +0000 (13:20 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 22 Mar 2017 09:30:53 +0000 (10:30 +0100)
commit9e794b6bf4a2c65d698d7433ddfabc54a5d53a88
treec63f644fe41b81ae0add9cff10a17e1fb0accd0d
parent9aa5cd79b5abde1d0ebcff825726e242e0b7efea
batman-adv: drop unicast packets from other backbone gw

Additional dropping of unicast packets received from another backbone gw if
the same backbone network before being forwarded to the same backbone again
is necessary. It was observed in a test setup that in rare cases these
frames lead to looping unicast traffic backbone->mesh->backbone.

Signed-off-by: Andreas Pape <apape@phoenixcontact.com>
Acked-by: Simon Wunderlich <sw@simonwunderlich.de>
[sven@narfation.org: fix conflicts with current version]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/routing.c