From: Denis Kenzior <denkenz@gmail.com>
To: ell@lists.01.org
Subject: Re: [PATCH_v2] genl: Introduce new api
Date: Fri, 27 Feb 2015 11:03:20 -0600 [thread overview]
Message-ID: <54F0A358.60106@gmail.com> (raw)
In-Reply-To: <1425028425-9441-1-git-send-email-ravikumar.veeramally@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
Hi Ravi,
On 02/27/2015 03:13 AM, Ravi kumar Veeramally wrote:
> Introducing l_genl_family_send_and_unref, l_genl_family_dump_and_unref
> wrapper functions for l_genl_family_send and l_genl_family_dump
> but it unref the message no matter of what the result is.
> ---
> ell/genl.c | 28 ++++++++++++++++++++++++++++
> ell/genl.h | 10 ++++++++++
> 2 files changed, 38 insertions(+)
>
I decided to fix this differently. The fix was to have
l_genl_family_send and l_genl_family_dump not take a ref, since we never
actually kept the message after sending it.
This also makes it consistent with the ell dbus message API.
Regards,
-Denis
prev parent reply other threads:[~2015-02-27 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 9:13 [PATCH_v2] genl: Introduce new api Ravi kumar Veeramally
2015-02-27 17:03 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F0A358.60106@gmail.com \
--to=denkenz@gmail.com \
--cc=ell@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.