backports: add napi_gro_flush()
PATCH 1/1 backports: add napi_gro_flush()
From: Johannes Berg <[email protected]>
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 <[email protected]>
Signed-off-by Emmanuel Grumbach <[email protected]>
--- backport/backport-include/linux/netdevice.h | 1 + 1 file changed, 1 insertion(+)
backport/backport-include/linux/netdevice.h +1 -0
@@ -481,6 +481,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 */
Signature · 1 line
1.8.3.2