diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2009-12-23 22:02:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-23 22:02:57 -0800 |
commit | f466dba1832f05006cf6caa9be41fb98d11cb848 (patch) | |
tree | d6bd5846aed13f269f3e6e1406b1a26abebc5bcd /drivers | |
parent | c0d7a0212becebe11ffe6979ee3d6f1c4104568d (diff) |
pktgen: ndo_start_xmit can return NET_XMIT_xxx values
This updates pktgen so that it does not decrement skb->users
when it receives valid NET_XMIT_xxx values. These are now
valid return values from ndo_start_xmit in net-next-2.6.
They also indicate the skb has been consumed.
This fixes pktgen to work correctly with vlan devices.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions