Re: libnetfilter_queue & multithreading

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

 



On Sat, Jul 22, 2017 at 06:38:55PM +0200, Florian Westphal wrote:
> Oleg <lego12239@xxxxxxxxx> wrote:
> > static void*
> > thread_start(void *data)
> > {
> >         struct nfq_handle *h;
> >         int fd, n;
> >         static char *pkt_buf;
> 
> static? Looks buggy...

  Hm, why :-)? This function must be local and shouldn't be seen in other
source files.


-- 
Олег Неманов (Oleg Nemanov)
--
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



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

  Powered by Linux