summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2009-12-24 06:02:57 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-12-24 06:02:57 (GMT)
commitf466dba1832f05006cf6caa9be41fb98d11cb848 (patch)
treed6bd5846aed13f269f3e6e1406b1a26abebc5bcd /drivers/net/bnx2x_main.c
parentc0d7a0212becebe11ffe6979ee3d6f1c4104568d (diff)
downloadlinux-fsl-qoriq-f466dba1832f05006cf6caa9be41fb98d11cb848.tar.xz
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/net/bnx2x_main.c')
0 files changed, 0 insertions, 0 deletions