Generic Netlink

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

 



Hi,

I try to use the generic netlink functionalities in a kernel module.

I looked the doc
http://www.linux-foundation.org/en/Net:Generic_Netlink_HOWTO and the
source code of kernel/taskstats.c in the kernel.
I tried to reproduce the example of the doc (look in the attached
file) but it doesn't work.

I work on a 2.6.23 kernel and on two different architectures, a
classic x86 pc and a armv5b board.
On the PC the genlmsg_multicast function return an error (-3) and the
system crash totally in the next 5 sec (hard reboot).
On the arm board, the genlmsg_put function return the NULL value, but
the module is unload and the system stay stable.

Can you help me ?
Doude.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux