| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-Id: <20101219.215034.59672253.davem@davemloft.net> Date: Sun, 19 Dec 2010 21:50:34 -0800 (PST) From: David Miller <davem@...emloft.net> To: xiaosuo@...il.com Cc: eric.dumazet@...il.com, therbert@...gle.com, jpirko@...hat.com, fenghua.yu@...el.com, junchangwang@...il.com, xinan.tang@...el.com, netdev@...r.kernel.org Subject: Re: [PATCH] net: increase skb->users instead of skb_clone() From: Changli Gao <xiaosuo@...il.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@...il.com> Applied, thanks. -- 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