From 16744e51fa49e77bcfe76b5100cc555a4fd7e272 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 9 Apr 2014 15:03:27 +0300 Subject: [PATCH] backports: add napi_gro_flush() napi_gro_flush() got a second argument in kernel 3.7, but it can be ignored for prior kernel versions. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach Signed-off-by: Luis R. Rodriguez --- backport/backport-include/linux/netdevice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index f77e3ebd2278..a39bff70676b 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -521,6 +521,7 @@ struct net *dev_net(const struct net_device *dev) #define netdev_notify_peers(dev) #elif LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0) #define netdev_notify_peers(dev) netif_notify_peers(dev) +#define napi_gro_flush(napi, old) napi_gro_flush(napi) #endif #endif /* __BACKPORT_NETDEVICE_H */ -- 2.30.2