Re: fork inside ip_input

2006-07-15 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: : On 14.07.2006 15:57:28, Simon 'corecode' Schubert wrote: : > Mykola Stryebkov wrote: : > >Hi all. : > > : > >Have a strange question: is it possible to create new process (using : > >fork or fork1) from inside of ip_input()? :

Re: fork inside ip_input

2006-07-14 Thread mykola . stryebkov
On 14.07.2006 15:57:28, Simon 'corecode' Schubert wrote: > Mykola Stryebkov wrote: > >Hi all. > > > >Have a strange question: is it possible to create new process (using > >fork or fork1) from inside of ip_input()? > > i don't think so. > > >In kernel sources i found example of using fork1 in ini

Re: fork inside ip_input

2006-07-14 Thread Simon 'corecode' Schubert
Mykola Stryebkov wrote: Hi all. Have a strange question: is it possible to create new process (using fork or fork1) from inside of ip_input()? i don't think so. In kernel sources i found example of using fork1 in init_main.c but looking into ip_input.c i do not understand where i can get poi

Re: fork inside ip_input

2006-07-14 Thread Julian Elischer
Mykola Stryebkov wrote: Hi all. Have a strange question: is it possible to create new process (using fork or fork1) from inside of ip_input()? In kernel sources i found example of using fork1 in init_main.c but looking into ip_input.c i do not understand where i can get pointers to a thread an

fork inside ip_input

2006-07-14 Thread Mykola Stryebkov
Hi all. Have a strange question: is it possible to create new process (using fork or fork1) from inside of ip_input()? In kernel sources i found example of using fork1 in init_main.c but looking into ip_input.c i do not understand where i can get pointers to a thread and parent process to pass it