batman-adv: Fix speedy join in gateway client mode 207/head
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 17 Jun 2016 13:54:03 +0000 (15:54 +0200)
committerSven Eckelmann <sven.eckelmann@open-mesh.com>
Wed, 6 Jul 2016 13:36:23 +0000 (15:36 +0200)
commit0d86d08be9a696f33ef2eaed0516e459a34a083e
treee42138af06fd114020c3dd4e12229700a2fc2e13
parent14e98d86ac7a0e7725fb3a38fa8d2c643d03db50
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.eckelmann@open-mesh.com>
batman-adv/Makefile
batman-adv/patches/0022-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch [new file with mode: 0644]