This patch fixes it (From Alessandro's email on the 4th of this month)
James
--- kernel/event.c 2005-09-12 12:03:38.000000000 +0200
+++ kernel/event.c 2006-01-04 15:09:15.000000000 +0100
@@ -95,7 +95,8 @@
int event_init(void)
{
- if (!(nl = netlink_kernel_create(NETLINK_IET, event_recv)))
+ if (!(nl = netlink_kernel_create(NETLINK_IET, 1,event_recv,
THIS_MODULE)))
+
return -ENOMEM;
else
return 0;
turky wrote:
compile errot cause of define in linux/netlink.h:netlink_kernel_create
changed .
but i don't know how to change the src....8-(
2.6.13
extern struct sock *netlink_kernel_create(int unit, void
(*input)(struct sock *sk, int len));
2.6.14
extern struct sock *netlink_kernel_create(int unit, unsigned int
groups, void (*input)(struct sock *sk, int len
), struct module *module);
2.6.15
extern struct sock *netlink_kernel_create(int unit, unsigned int
groups, void (*input)(struct sock *sk, int len
), struct module *module);
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
|