diff options
author | RubenKelevra | 2016-11-08 23:29:42 +0100 |
---|---|---|
committer | RubenKelevra | 2016-11-08 23:30:38 +0100 |
commit | b2dbe2c4d646f7ad4b88f2a46b5f6f30ca252e9b (patch) | |
tree | 431acd28b314e8992a37a3c71f30202334420c42 /0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch | |
parent | 4d9a7bf945037442d7df40f64fbedb82de51b993 (diff) | |
download | aur-b2dbe2c4d646f7ad4b88f2a46b5f6f30ca252e9b.tar.gz |
update to batman-adv 2016.4 (removing patch for doc-files which dont apply anymore - patch 1001)
Diffstat (limited to '0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch')
-rw-r--r-- | 0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch b/0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch deleted file mode 100644 index e63b782f4f82..000000000000 --- a/0001-batman-adv-Fix-speedy-join-in-gateway-client-mode.patch +++ /dev/null @@ -1,35 +0,0 @@ -From: Sven Eckelmann <sven@narfation.org> -Date: Sun, 12 Jun 2016 10:43:19 +0200 -Subject: [PATCH] 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. - -Fixes: 9cbc67d9da47 ("batman-adv: change interface_rx to get orig node") -Signed-off-by: Sven Eckelmann <sven@narfation.org> ---- - net/batman-adv/send.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c -index f2f1256..0103976 100644 ---- a/net/batman-adv/send.c -+++ b/net/batman-adv/send.c -@@ -424,8 +424,8 @@ int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, - struct batadv_orig_node *orig_node; - - orig_node = batadv_gw_get_selected_orig(bat_priv); -- return batadv_send_skb_unicast(bat_priv, skb, BATADV_UNICAST, 0, -- orig_node, vid); -+ return batadv_send_skb_unicast(bat_priv, skb, BATADV_UNICAST_4ADDR, -+ BATADV_P_DATA, orig_node, vid); - } - - void batadv_schedule_bat_ogm(struct batadv_hard_iface *hard_iface) |