Re: sockets in kernel space

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

 



Hi,

>> struct socket *guestsock;
>> error = sock_create(PF_UNIX, SOCK_DGRAM, 0, &guestsock);
> It looks OK to my eyes.
I found the error. I wanted to set the socket up too early in the boot 
process, when the unix protocol is not yet registered with the 
networking core.

[snip]
> Especially try to get value of "error".
Jep, that one helped.

Thanks for your help,
Patrick "petschge" Kilian

-- 
Ein Passender Vergleich wuerde einen Braunkohletagebaufoerderbagger
mit einbeziehen. Dieser ist zu Strassen so kompatibel wie Notes zu
SMTP.		-- Jürgen P. Meier in d.a.s.r

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux