Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ToDevice(.k) : Set queue_mapping to 0 #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions elements/linuxmodule/todevice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ ToDevice::queue_packet(Packet *p, struct netdev_queue *txq)
// apparently some devices in Linux 2.6 require it
skb1->dev = dev;

//reset queue index until proper MQ support
skb1->queue_mapping = 0;

#ifdef IFF_XMIT_DST_RELEASE
/*
* If device doesnt need skb->dst, release it right now while
Expand Down