Skip to content

Commit cdf7370

Browse files
Phil Sutterdavem330
authored andcommitted
net: batman-adv: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Marek Lindner <[email protected]> Cc: Simon Wunderlich <[email protected]> Cc: Antonio Quartulli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3db6da1 commit cdf7370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/batman-adv/soft-interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ static void batadv_softif_init_early(struct net_device *dev)
941941
dev->netdev_ops = &batadv_netdev_ops;
942942
dev->destructor = batadv_softif_free;
943943
dev->features |= NETIF_F_HW_VLAN_CTAG_FILTER;
944-
dev->tx_queue_len = 0;
944+
dev->priv_flags |= IFF_NO_QUEUE;
945945

946946
/* can't call min_mtu, because the needed variables
947947
* have not been initialized yet

0 commit comments

Comments
 (0)