[PATCH 0/6] rework of nf_log refactoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

BR,
-- 
Eric Leblond <eric@xxxxxx>
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux