--- a/batman-adv-kernelland/hard-interface.h +++ b/batman-adv-kernelland/hard-interface.h @@ -38,3 +38,8 @@ int batman_skb_recv(struct sk_buff *skb, struct net_device *orig_dev); int hardif_min_mtu(void); void update_min_mtu(void);
+#ifndef netdev_isbridged +#define netdev_isbridged(netdev) \
- ((net_dev)->priv_flags & IFF_BRIDGE_PORT)
+#endif
Maybe this could be pushed upstream? Seems like a useful bit of code in general?
Andrew