On 09/11/15 20:00, Cong Wang wrote:
On Fri, Sep 11, 2015 at 3:24 PM, Akshat Kakkar <akshat.1...@gmail.com> wrote:
Hmm, I didn't know that before either. Looks like my tp->init change breaks it. Could you try the following patch?
I would just make init() empty for this classifier (return 0?). If someone wants to add classids ids, change() is available. The most common (efficient) use case is what Akshat shows. So even the check in the classify should optimize for that i.e if (head == NULL) do old method else ... cheers, jamal -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html