summaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorAmerigo Wang2012-09-17 22:16:31 +0200
committerDavid S. Miller2012-09-19 23:19:09 +0200
commit8c4c49df5cfeb8d56e5b85a430c8cbcb86c2ac37 (patch)
treef57cd83822deb6f675dce888f86d007f2b9e3998 /include/net/net_namespace.h
parentnetdev: make address const in device address management (diff)
downloadkernel-qcow2-linux-8c4c49df5cfeb8d56e5b85a430c8cbcb86c2ac37.tar.gz
kernel-qcow2-linux-8c4c49df5cfeb8d56e5b85a430c8cbcb86c2ac37.tar.xz
kernel-qcow2-linux-8c4c49df5cfeb8d56e5b85a430c8cbcb86c2ac37.zip
netpoll: call ->ndo_select_queue() in tx path
In netpoll tx path, we miss the chance of calling ->ndo_select_queue(), thus could cause problems when bonding is involved. This patch makes dev_pick_tx() extern (and rename it to netdev_pick_tx()) to let netpoll call it in netpoll_send_skb_on_dev(). Reported-by: Sylvain Munaut <s.munaut@whatever-company.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Cong Wang <amwang@redhat.com> Tested-by: Sylvain Munaut <s.munaut@whatever-company.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/net_namespace.h')
0 files changed, 0 insertions, 0 deletions