netif_notify_peers() was renamed to netdev_notify_peers() in kernel 3.7. Replace the calls to netdev_notify_peers() with netif_notify_peers(). Some older kernel versions do not even have netif_notify_peers(), there we just remove the call, currently it is only used in the 6lowpan code and I assume it will still work, but not so good. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/netdevice.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index 3d6b7b3..f99ea02 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -475,4 +475,12 @@ struct net *dev_net(const struct net_device *dev) #define netdev_notifier_info_to_dev(ndev) ndev #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34) && \ + LINUX_VERSION_CODE != KERNEL_VERSION(2,6,32) +/* there is no equivalent function to update arp table */ +#define netdev_notify_peers(dev) +#elif LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) +#define netdev_notify_peers(dev) netif_notify_peers(dev) +#endif + #endif /* __BACKPORT_NETDEVICE_H */ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html