From: John Fastabend Date: Thu, 24 Dec 2009 06:02:57 +0000 (-0800) Subject: pktgen: ndo_start_xmit can return NET_XMIT_xxx values X-Git-Tag: v2.6.33-rc3~44^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f466dba1832f05006cf6caa9be41fb98d11cb848;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed