netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: xiaosuo@gmail.com
Cc: eric.dumazet@gmail.com, therbert@google.com, jpirko@redhat.com,
	fenghua.yu@intel.com, junchangwang@gmail.com,
	xinan.tang@intel.com, netdev@vger.kernel.org
Subject: Re: [PATCH] net: increase skb->users instead of skb_clone()
Date: Sun, 19 Dec 2010 21:50:34 -0800 (PST)	[thread overview]
Message-ID: <20101219.215034.59672253.davem@davemloft.net> (raw)
In-Reply-To: <1292479045-3136-1-git-send-email-xiaosuo@gmail.com>

From: Changli Gao <xiaosuo@gmail.com>
Date: Thu, 16 Dec 2010 13:57:25 +0800

> In dev_queue_xmit_nit(), we have to clone skbs as we need to mangle skbs,
> however, we don't need to clone skbs for all the packet_types.
> 
> Except for the first packet_type, we increase skb->users instead of
> skb_clone().
> 
> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied, thanks.

      parent reply	other threads:[~2010-12-20  5:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16  5:57 [PATCH] net: increase skb->users instead of skb_clone() Changli Gao
2010-12-16  7:18 ` Eric Dumazet
2010-12-16  7:23   ` Changli Gao
2010-12-16  7:50     ` Eric Dumazet
2010-12-16 14:20     ` Junchang Wang
2010-12-16 14:30       ` Eric Dumazet
2010-12-16 14:05 ` Junchang Wang
2010-12-16 14:12   ` Changli Gao
2010-12-16 14:36     ` Junchang Wang
2010-12-16 14:18   ` Eric Dumazet
2010-12-16 14:31     ` Junchang Wang
2010-12-16 14:41       ` Eric Dumazet
2010-12-16 14:43         ` Changli Gao
2010-12-17  0:24         ` Junchang Wang
2010-12-20  5:50 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101219.215034.59672253.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=fenghua.yu@intel.com \
    --cc=jpirko@redhat.com \
    --cc=junchangwang@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=therbert@google.com \
    --cc=xiaosuo@gmail.com \
    --cc=xinan.tang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).