diff --git a/elements/linuxmodule/todevice.cc b/elements/linuxmodule/todevice.cc index 296f2a53da..e51a3a4907 100644 --- a/elements/linuxmodule/todevice.cc +++ b/elements/linuxmodule/todevice.cc @@ -258,7 +258,7 @@ ToDevice::cleanup(CleanupStage stage) #endif #ifdef NETIF_F_LLTX -# define click_netif_needs_lock(dev) (((dev)->features & NETIF_F_LLTX) != 0) +# define click_netif_needs_lock(dev) (((dev)->features & NETIF_F_LLTX) == 0) #else # define click_netif_needs_lock(dev) 1 #endif