jamal wrote: >>What needs to be done is to put a pointer to the hash, its size >>and its lock in struct tc_action_ops and move the "generic" >>functions to a seperate .c file and make them work on a struct >>tcf_act_common. >> > > > This is much better than your old proposal Patrick and i have no > problem with it. Why you would need tcf_act_common > if you are going to have those elements in tc_action_ops? > So go ahead and submit the patches or you could pass the token to me and > i will (so we avoid redundancy).
It is actually exactly what I've always proposed. tcf_act_common is the single action itself, tc_action_ops only includes pointers to the hash table and the private lock. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html