Hi Joe, I found that the problem was that I have debugfs disabled (#
CONFIG_BUG is not set).
I cannot make better than this patch to net/core/filter.c:
#ifdef CONFIG_BUG
WARN_RATELIMIT(1, "Unknown code:%u jt:%u tf:%u
k:%u\n",
fentry->code, fentry->jt,
fentry->jf, fentry->k);
#endif
#ifndef CONFIG_BUG
WARN_ON(1);
#endif
return 0;
However, at least, it works ;-)
Thank you very much for the hints,
Marco Marini
On 13/07/2011 16:52, Joe Perches wrote:
On Wed, 2011-07-13 at 12:37 +0200, saidone wrote:
Hello Joe,
I tried to build the latest stable kernel 2.6.32.43 with gcc 3.4.6, but
it stopped while compiling filter.c:
net/core/filter.c: In function `sk_run_filter':
net/core/filter.c:294: error: implicit declaration of function
`WARN_RATELIMIT'
How can I patch it in a "safe" manner?
Thanks in advance,
Marco Marini
I believe net/core/filter.c will need to
#include<linux/ratelimit.h>
_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable