diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-11-15 04:45:27 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:22:41 +0100 |
commit | 81878d27fdd297a33f3cfcf29483fe1abaf26dec (patch) | |
tree | 4ce8183643abce3ec5fe5fdab0c9104204e88e6e /net/netlink/genetlink.c | |
parent | [GENL]: Add genlmsg_new() to allocate generic netlink messages (diff) | |
download | linux-81878d27fdd297a33f3cfcf29483fe1abaf26dec.tar.xz linux-81878d27fdd297a33f3cfcf29483fe1abaf26dec.zip |
[GENL]: Add genlmsg_reply() to simply unicast replies to requests
A generic netlink user has no interest in knowing how to
address the source of the original request.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/genetlink.c')
-rw-r--r-- | net/netlink/genetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 70d60c818897..0249a56a9aad 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c @@ -529,7 +529,7 @@ static int ctrl_getfamily(struct sk_buff *skb, struct genl_info *info) goto errout; } - err = genlmsg_unicast(msg, info->snd_pid); + err = genlmsg_reply(msg, info); errout: return err; } |