On Friday 06 May 2016 10:58:23 Andreas Pape wrote:
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c index 81665b1..1f1742a 100644 --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/soft-interface.c @@ -28,6 +28,7 @@ #include <linux/fs.h> #include <linux/if_ether.h> #include <linux/if_vlan.h> +#include <linux/ip.h> #include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/kref.h>
Haven't really looked at your patchset but was just interested in this new function. But I didn't came to look at it because I saw this weird include. Doesn't seem to make sense here at all when you look at the rest of the changes in this file:
@@ -442,6 +443,9 @@ void batadv_interface_rx(struct net_device *soft_iface, goto dropped; }
- /* Snoop incoming traffic for dat update */
- batadv_dat_entry_check(bat_priv, skb, vid);
- /* skb->dev & skb->pkt_type are set here */ skb->protocol = eth_type_trans(skb, soft_iface);
Kind regards, Sven