diff options
author | David S. Miller <davem@davemloft.net> | 2016-07-01 17:05:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 17:05:00 -0400 |
commit | 3ea00443f1b17405ce9e1421bb7706777339926e (patch) | |
tree | bc2708a8e693cc19ca8a6501c4307a3f62055d99 /net/batman-adv/bat_algo.h | |
parent | ca9354a1d47d8e30dee114fc946fd71f1d403ca7 (diff) | |
parent | 4e3e823b5a503235630921287f130e1d8d22d200 (diff) | |
download | linux-stable-3ea00443f1b17405ce9e1421bb7706777339926e.tar.gz linux-stable-3ea00443f1b17405ce9e1421bb7706777339926e.tar.bz2 linux-stable-3ea00443f1b17405ce9e1421bb7706777339926e.zip |
Merge tag 'batadv-next-for-davem-20160701' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says:
====================
This feature patchset includes the following changes:
- two patches with minimal clean up work by Antonio Quartulli and
Simon Wunderlich
- eight patches of B.A.T.M.A.N. V, API and documentation clean
up work, by Antonio Quartulli and Marek Lindner
- Andrew Lunn fixed the skb priority adoption when forwarding
fragmented packets (two patches)
- Multicast optimization support is now enabled for bridges which
comes with some protocol updates, by Linus Luessing
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/bat_algo.h')
-rw-r--r-- | net/batman-adv/bat_algo.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/batman-adv/bat_algo.h b/net/batman-adv/bat_algo.h index 03dafd33d23b..36542962de7d 100644 --- a/net/batman-adv/bat_algo.h +++ b/net/batman-adv/bat_algo.h @@ -18,13 +18,14 @@ #ifndef _NET_BATMAN_ADV_BAT_ALGO_H_ #define _NET_BATMAN_ADV_BAT_ALGO_H_ -struct batadv_priv; +#include "main.h" int batadv_iv_init(void); #ifdef CONFIG_BATMAN_ADV_BATMAN_V int batadv_v_init(void); +void batadv_v_hardif_init(struct batadv_hard_iface *hardif); int batadv_v_mesh_init(struct batadv_priv *bat_priv); void batadv_v_mesh_free(struct batadv_priv *bat_priv); @@ -35,6 +36,10 @@ static inline int batadv_v_init(void) return 0; } +static inline void batadv_v_hardif_init(struct batadv_hard_iface *hardif) +{ +} + static inline int batadv_v_mesh_init(struct batadv_priv *bat_priv) { return 0; |