Eric Leblond wrote:
Hi,
Le jeudi 08 janvier 2009 à 00:56 +0100, Jan Engelhardt a écrit :
On Wednesday 2009-01-07 21:05, Eric Leblond wrote:
--- a/net/netfilter/nf_log.c
+++ b/net/netfilter/nf_log.c
@@ -172,13 +172,26 @@ static int seq_show(struct seq_file *s, void *v)
{
loff_t *pos = v;
const struct nf_logger *logger;
+ struct nf_logger *t;
+ char loggers_string[256];
+ int len = 256;
Thanks Jan for your help. I've updated the patchset to follow
your remarks. It uses seq_printf instead of a strncat for the
proc modification and I've added the __read_mostly attribute.
Last modification of the patchset is a fix a of a bug in sysctl
handling.
I'm not sure whether I'm looking at the latest version. Could you
resend all logging patches I haven't applied yet please?
My tree for 2.6.30 (not merged up with the patches for 2.6.29 yet,
but I'll take care of any conflicts myself) is available at:
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6.git
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html