cn_test example fail to send

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

 



Hi All

I have a question about the cn_test coming under
Documentation/connector. From the code, cn_test_callback() is registered
and a timer handler will call cn_netlink_send() every second.

I compiled the code under FC5 and insmod the module. I also revised the
code a bit to observe the return value of cn_netlink_send().

Unfortunately, the return value is always -ESRCH which
http://lxr.linux.no/source/drivers/connector/connector.c?v=2.6.18#L102
show no listeners.

But I thought cn_test_callback() is the listener?

Ming



--
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