Merge tag 'batadv-next-for-davem-20190213' of git://git.open-mesh.org/linux-merge
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:28:11 +0000 (22:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:28:11 +0000 (22:28 -0800)
Simon Wunderlich says:

====================
This feature/cleanup patchset includes the following patches:

 - fix memory leak in in batadv_dat_put_dhcp, by Martin Weinelt

 - fix typo, by Sven Eckelmann

 - netlink restructuring patch series (part 2), by Sven Eckelmann
   (19 patches)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
net/batman-adv/soft-interface.c

index 93a5975c21a42b2d346aee18e1e01aaec50b6d73,12028c287de5752c54484b9801d568b30b488b96..5cb4a2f53a2f8180551c88c53adf94d6db212288
  #include <linux/string.h>
  #include <linux/types.h>
  #include <uapi/linux/batadv_packet.h>
+ #include <uapi/linux/batman_adv.h>
  
  #include "bat_algo.h"
  #include "bridge_loop_avoidance.h"
  #include "debugfs.h"
  #include "distributed-arp-table.h"
  #include "gateway_client.h"
- #include "gateway_common.h"
  #include "hard-interface.h"
  #include "multicast.h"
  #include "network-coding.h"
@@@ -222,8 -222,6 +222,8 @@@ static netdev_tx_t batadv_interface_tx(
  
        netif_trans_update(soft_iface);
        vid = batadv_get_vid(skb, 0);
 +
 +      skb_reset_mac_header(skb);
        ethhdr = eth_hdr(skb);
  
        proto = ethhdr->h_proto;