OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] nf_sockopts list head cleanup
Re: [PATCH] nf_sockopts list head cleanup [message #22205 is a reply to message #22142] Tue, 23 October 2007 12:39 Go to previous message
Patrick McHardy is currently offline  Patrick McHardy
Messages: 107
Registered: March 2006
Senior Member
Alexey Dobriyan wrote:
> Code is using knowledge that nf_sockopt_ops::list list_head is first
> field in structure by using casts. Switch to list_for_each_entry()
> itetators while I am at it.
>
>   

Applied with a minor warning fix in the compat path, thanks Alexey.
 
Read Message
Read Message
Previous Topic: [PATCH 1/2] CFS CGroup: Code cleanup
Next Topic: [PATCH 0/5] Diet struct net_device a bit
Goto Forum:
  


Current Time: Wed Aug 06 09:19:25 GMT 2025

Total time taken to generate the page: 2.11510 seconds