From: Milan Broz <mbroz@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: [patch 2/3] dm-netlink: Add support for event functions
Date: Fri, 09 Feb 2007 18:16:59 +0100 [thread overview]
Message-ID: <45CCAC8B.7080207@redhat.com> (raw)
In-Reply-To: <20070122181742.893385495@us.ibm.com>>
Mike Anderson wrote:
> This patch adds support for the dm_path_event dm_send_event funtions which
> create and send netlink attribute events.
>
> Signed-off-by: Mike Anderson <andmike@us.ibm.com>
> int __init dm_netlink_init(void)
> {
> int err;
>
> + err = netlink_register_notifier(&dm_netlink_notifier);
Hello Mike,
Just small oversight in code:
modification of destructor missing here
(dm_mod will not load second time after rmmod now)
@@ -94,4 +288,6 @@ int __init dm_netlink_init(void)
void dm_netlink_exit(void)
{
dme_cache_destroy(&dme_cache);
+ sock_release(dm_netlink_sock->sk_socket);
+ netlink_unregister_notifier(&dm_netlink_notifier);
}
Milan
--
mbroz@redhat.com
next prev parent reply other threads:[~2007-02-09 17:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070122181718.377495483@us.ibm.com>
2007-01-22 18:17 ` [patch 1/3] dm-netlink: Add dm-netlink skeleton Mike Anderson
2007-01-22 18:17 ` [patch 2/3] dm-netlink: Add support for event functions Mike Anderson
2007-01-22 18:17 ` [patch 3/3] dm-mpath: Add calls dm-netlink path " Mike Anderson
[not found] ` <20070122181742.893385495@us.ibm.com>
2007-02-09 17:16 ` Milan Broz [this message]
2007-02-13 4:41 ` [patch 2/3] dm-netlink: Add support for " Mike Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45CCAC8B.7080207@redhat.com \
--to=mbroz@redhat.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.