summaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_unlabeled.c
diff options
context:
space:
mode:
authorThomas Graf2006-11-15 04:45:27 +0100
committerDavid S. Miller2006-12-03 06:22:41 +0100
commit81878d27fdd297a33f3cfcf29483fe1abaf26dec (patch)
tree4ce8183643abce3ec5fe5fdab0c9104204e88e6e /net/netlabel/netlabel_unlabeled.c
parent[GENL]: Add genlmsg_new() to allocate generic netlink messages (diff)
downloadkernel-qcow2-linux-81878d27fdd297a33f3cfcf29483fe1abaf26dec.tar.gz
kernel-qcow2-linux-81878d27fdd297a33f3cfcf29483fe1abaf26dec.tar.xz
kernel-qcow2-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/netlabel/netlabel_unlabeled.c')
-rw-r--r--net/netlabel/netlabel_unlabeled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/netlabel_unlabeled.c b/net/netlabel/netlabel_unlabeled.c
index 219dccade4e1..57dd07b51be6 100644
--- a/net/netlabel/netlabel_unlabeled.c
+++ b/net/netlabel/netlabel_unlabeled.c
@@ -160,7 +160,7 @@ static int netlbl_unlabel_list(struct sk_buff *skb, struct genl_info *info)
genlmsg_end(ans_skb, data);
- ret_val = genlmsg_unicast(ans_skb, info->snd_pid);
+ ret_val = genlmsg_reply(ans_skb, info);
if (ret_val != 0)
goto list_failure;
return 0;