Subject: Re: [NET]: Avoid useless iterating in netlink dump functions

From: Patrick McHardy <[email-masked]>
Date: Fri, 06 May 2005 23:27:35 +0200

jamal wrote:
> On Fri, 2005-06-05 at 23:12 +0200, Patrick McHardy wrote:
> 
>>action dumping is on my list for more treatment than this :)
> 
> Well, that does sound scary ;-> What do you have in mind.
> Recall, there are two paths to dumping actions - unlike any other thing
> in the kernel.

Don't worry :) Its actually action walking that is on my list.
What I have planed is roughly:
- clean up and move hashing functions to act_common.c
- put data needed for hashing (size, pointer to memory, ...) in
  struct tc_act_common, which is referenced by struct tc_action_ops
- add callback based walking function so we don't need two of them

This should also get rid of all the large functions contained in
headerfiles.

Regards
Patrick