diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2009-10-02 02:40:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-02 10:53:58 -0700 |
commit | 293500a23f4b0698cb04abfecfc9a954d8ab2742 (patch) | |
tree | 15c873cfbdaebe5f644ae60958c656fd449061d5 /drivers/connector/cn_queue.c | |
parent | 19d5afd4f0d26201d8d8bec351ee0442775a5379 (diff) |
connector: Keep the skb in cn_callback_data
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 'drivers/connector/cn_queue.c')
-rw-r--r-- | drivers/connector/cn_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/connector/cn_queue.c b/drivers/connector/cn_queue.c index 4a1dfe1f4ba9..b4cfac93f723 100644 --- a/drivers/connector/cn_queue.c +++ b/drivers/connector/cn_queue.c @@ -78,8 +78,9 @@ void cn_queue_wrapper(struct work_struct *work) struct cn_callback_entry *cbq = container_of(work, struct cn_callback_entry, work); struct cn_callback_data *d = &cbq->data; + struct cn_msg *msg = NLMSG_DATA(nlmsg_hdr(d->skb)); - d->callback(d->callback_priv); + d->callback(msg); d->destruct_data(d->ddata); d->ddata = NULL; |