diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-27 23:37:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-29 22:58:37 +0100 |
commit | 944e294857033dbe519a136cad05dc4e2570874e (patch) | |
tree | d7d3f8a8890fc8ad488cc6e1456287416850d94d /security | |
parent | netpoll: Remove gfp parameter from __netpoll_setup (diff) | |
download | linux-944e294857033dbe519a136cad05dc4e2570874e.tar.xz linux-944e294857033dbe519a136cad05dc4e2570874e.zip |
netpoll: Only call ndo_start_xmit from a single place
Factor out the code that needs to surround ndo_start_xmit
from netpoll_send_skb_on_dev into netpoll_start_xmit.
It is an unfortunate fact that as the netpoll code has been maintained
the primary call site ndo_start_xmit learned how to handle vlans
and timestamps but the second call of ndo_start_xmit in queue_process
did not.
With the introduction of netpoll_start_xmit this associated logic now
happens at both call sites of ndo_start_xmit and should make it easy
for that to continue into the future.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions