Home
last modified time | relevance | path

Searched hist:f466dba1832f05006cf6caa9be41fb98d11cb848 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Dpktgen.cdiff f466dba1832f05006cf6caa9be41fb98d11cb848 Thu Dec 24 00:02:57 CST 2009 John Fastabend <john.r.fastabend@intel.com> 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>