Messages in this thread | | | Date | Sat, 24 Jul 2004 16:21:50 -0400 (EDT) | From | James Morris <> | Subject | Re: [patch] kernel events layer |
| |
On Sat, 24 Jul 2004, Robert Love wrote:
> +static int kevent_init(void) > +{ > + kevent_sock = netlink_kernel_create(NETLINK_KEVENT, netlink_receive);
Consider a NULL netlink_receive function, as you're dropping any received messages. This will provide better interface semantics e.g. connection refused message on message transmission to kernel.
- James -- James Morris <jmorris@redhat.com>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |