[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 28 Jun 2010 23:38:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hadi@...erus.ca
Cc: xiaosuo@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v3] act_mirred: don't clone skb when skb isn't shared
From: jamal <hadi@...erus.ca>
Date: Fri, 25 Jun 2010 08:39:11 -0400
> On Fri, 2010-06-25 at 10:25 +0800, Changli Gao wrote:
>> don't clone skb when skb isn't shared
>>
>> When the tcf_action is TC_ACT_STOLEN, and the skb isn't shared, we don't need
>> to clone a new skb. As the skb will be freed after this function returns, we
>> can use it freely once we get a reference to it.
>>
>> Signed-off-by: Changli Gao <xiaosuo@...il.com>
>
> Signed-off-by: Jamal Hadi Salim <hadi@...erus.ca>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists