batman-adv: Fix speedy join in gateway client mode 197/head
authorSven Eckelmann <sven@narfation.org>
Fri, 17 Jun 2016 13:54:03 +0000 (15:54 +0200)
committerSven Eckelmann <sven.eckelmann@open-mesh.com>
Tue, 5 Jul 2016 10:13:44 +0000 (12:13 +0200)
commit7f6956b5bbccbd2975c154268fe354ae2415aa42
treeb1a99a5774cfc26f3a8b6dfe001b26111811a9a4
parentaf8eeab86fc071b932a113cf21eabb2da8561d22
batman-adv: Fix speedy join in gateway client mode

Speedy join only works when the received packet is either broadcast or an
4addr unicast packet. Thus packets converted from broadcast to unicast via
the gateway handling code have to be converted to 4addr packets to allow
the receiving gateway server to add the sender address as temporary entry
to the translation table.

Not doing it will make the batman-adv gateway server drop the DHCP response
in many situations because it doesn't yet have the TT entry for the
destination of the DHCP response.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/patches/0008-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch [new file with mode: 0644]