OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][PACKET] Remove unneeded packet_socks_nr variable
Re: [PATCH][PACKET] Remove unneeded packet_socks_nr variable [message #22933 is a reply to message #22931] Wed, 07 November 2007 15:50 Go to previous messageGo to previous message
Arnaldo Carvalho de M is currently offline  Arnaldo Carvalho de M
Messages: 27
Registered: October 2007
Junior Member
Em Wed, Nov 07, 2007 at 06:32:51PM +0300, Pavel Emelyanov escreveu:
> This one is used only under ifdef PACKET_REFCNT_DEBUG in
> printk and is not needed otherwise. So hide all this stuff
> under the PACKET_REFCNT_DEBUG.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Look at sk_refcnt_debug_inc, etc and you'll se a more standard way. I
forgot to make this when making all protocol families use sk_prot, even
if just partially :-)

- Arnaldo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: namespaces compatibility list
Next Topic: [PATCH] No need to inc/dec packet_socks_nr if PACKET_REFCNT_DEBUG is not set
Goto Forum:
  


Current Time: Thu Sep 19 07:37:12 GMT 2024

Total time taken to generate the page: 0.04268 seconds