Tom Barbette
Tom Barbette
You must use a more recent version of the Linux kernel. 2.6.32 has no support for rx_handler, which is used by Click to sniff packets out of the Linux stack.
The global reference is valid in the element. However getting out and back of the elementclass is not possible. It only have input and outputs. The usual solution would be...
You will have more informations about why it failed in config.log . Feel free to paste it here and I'll take a look
Can you open a PR ?
Can you make a pull request for that?
Thanks for the PR. But please describe what it does in the commit messages (and in the pull request if it's multiple commits). About styling : do not replace spaces...
I do not handle non-DPDK related merges to mainline. If you feel like it you can open a PR to FastClick, I would merge it.
Shouldn't it be already dying at that point? What sequence of actions lead your router to stay alive?
I'm less familiar with kernel click. However request_stop should be called from adjust_runcount/set_runcount. When you unload the module, click_cleanup_sched is called, which calls kill_router_threads. kill_router_threads set the runcount to STOP_RUNCOUNT...
I acknowledge the problem, I had it myself. However setting always stop_flag to true seems dangerous. If run_count is still not 0 because some references are still kept, the router...