Re: [BUG] net_cls: Panic occured when net_cls subsystem use
From: jamal <hidden>
Date: 2009-05-29 13:55:25
Attachments
- err-change-inited [text/x-patch] 883 bytes · preview
From: jamal <hidden>
Date: 2009-05-29 13:55:25
Hi Minoru, I hate to do this to you after i made suggestions on how to make the changes.... (as an adult i hate it when people do it to me;->) But sometimes code helps. So what i meant is the attached patch. I havent even compiled it yet. If it works, please submit it and add yourself as the author (and a signed-off from me). Then we can revisit the init() issue in cls_group.. You should also cc tgraf in your cls_grp config questions. cheers, jamal On Fri, 2009-05-29 at 09:46 -0400, jamal wrote:
This is incorrect. tp may already exist and you dont want to destroy for failure to change its parameters. You also dont want to reattach an existing tp because it succeeded in parameter change. So the soln is to check if this is a new tp and then do what you did above... Did that make sense? cheers, jamal