summaryrefslogtreecommitdiff
path: root/Documentation/connector/cn_test.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2009-10-02 02:40:05 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-02 10:54:01 -0700
commit7069331dbe7155f23966f5944109f909fea0c7e4 (patch)
tree5ea80628d1bf5e776a540ee84814f085c9adff04 /Documentation/connector/cn_test.c
parent293500a23f4b0698cb04abfecfc9a954d8ab2742 (diff)
downloadlinux-7069331dbe7155f23966f5944109f909fea0c7e4.tar.gz
linux-7069331dbe7155f23966f5944109f909fea0c7e4.tar.xz
connector: Provide the sender's credentials to the callback
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Acked-by: Lars Ellenberg <lars.ellenberg@linbit.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/connector/cn_test.c')
-rw-r--r--Documentation/connector/cn_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/connector/cn_test.c b/Documentation/connector/cn_test.c
index 1711adc33373..b07add3467f1 100644
--- a/Documentation/connector/cn_test.c
+++ b/Documentation/connector/cn_test.c
@@ -34,7 +34,7 @@ static char cn_test_name[] = "cn_test";
static struct sock *nls;
static struct timer_list cn_test_timer;
-static void cn_test_callback(struct cn_msg *msg)
+static void cn_test_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
{
pr_info("%s: %lu: idx=%x, val=%x, seq=%u, ack=%u, len=%d: %s.\n",
__func__, jiffies, msg->id.idx, msg->id.val,