summaryrefslogtreecommitdiff
path: root/net/netlabel/netlabel_cipso_v4.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-11-15 06:45:27 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 08:22:41 +0300
commit81878d27fdd297a33f3cfcf29483fe1abaf26dec (patch)
tree4ce8183643abce3ec5fe5fdab0c9104204e88e6e /net/netlabel/netlabel_cipso_v4.c
parent3dabc7157859e706770c825aa229f8943db4e0e1 (diff)
downloadlinux-81878d27fdd297a33f3cfcf29483fe1abaf26dec.tar.xz
[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_cipso_v4.c')
-rw-r--r--net/netlabel/netlabel_cipso_v4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlabel/netlabel_cipso_v4.c b/net/netlabel/netlabel_cipso_v4.c
index f1788bd290f8..52628878524c 100644
--- a/net/netlabel/netlabel_cipso_v4.c
+++ b/net/netlabel/netlabel_cipso_v4.c
@@ -568,7 +568,7 @@ list_start:
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;