The netif_tx_napi_add() backport is also needed for kernel 4.4. This
was missing in commit 50ad56a5154 "header: add netif_tx_napi_add()".

Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
---
 backport/backport-include/linux/netdevice.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backport/backport-include/linux/netdevice.h 
b/backport/backport-include/linux/netdevice.h
index bbe17a1..66405df 100644
--- a/backport/backport-include/linux/netdevice.h
+++ b/backport/backport-include/linux/netdevice.h
@@ -300,7 +300,7 @@ static inline void napi_complete_done(struct napi_struct 
*n, int work_done)
 }
 #endif /* < 3.19 */
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,5,0)
 #define netif_tx_napi_add LINUX_BACKPORT(netif_tx_napi_add)
 /**
  *     netif_tx_napi_add - initialize a napi context
@@ -320,6 +320,6 @@ static inline void netif_tx_napi_add(struct net_device *dev,
 {
        netif_napi_add(dev, napi, poll, weight);
 }
-#endif /* < 4.4 */
+#endif /* < 4.5 */
 
 #endif /* __BACKPORT_NETDEVICE_H */
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to