Skip to content

Commit

Permalink
Linuxmodule ToDevice: Behave correctly with LLTX drivers.
Browse files Browse the repository at this point in the history
We got the meaning of the flag wrong.

Signed-off-by: Eddie Kohler <[email protected]>
  • Loading branch information
double73 authored and kohler committed Aug 8, 2012
1 parent 2ff4c8d commit 5b88803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/linuxmodule/todevice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b88803

Please sign in to comment.