From: Christophe Ricard <christophe.ricard@gmail.com>
To: David Miller <davem@davemloft.net>, pablo@netfilter.org
Cc: sfeldma@gmail.com, jbenc@redhat.com, sameo@linux.intel.com,
netdev@vger.kernel.org, christophe-h.ricard@st.com
Subject: Re: [RFC] netlink: netlink_ack send a capped message in case of error
Date: Tue, 25 Aug 2015 21:22:28 +0200 [thread overview]
Message-ID: <55DCC074.3060907@gmail.com> (raw)
In-Reply-To: <20150824.211921.944778094161045642.davem@davemloft.net>
Hi David, Pablo,
I gave try to your proposed patch.
Changes in netlink_getsockopt and netlink_setsockopt are working fine.
Changes in netlink_ack looks not to be addressing the correct socket.
I will send an updated version in few minutes.
Best Regards
Christophe
On 25/08/2015 06:19, David Miller wrote:
> From: Pablo Neira Ayuso <pablo@netfilter.org>
> Date: Mon, 24 Aug 2015 20:56:37 +0200
>
>> On Mon, Aug 24, 2015 at 10:08:22AM +0200, Christophe Ricard wrote:
>>> Hi Scott,
>>>
>>> I think i understand the potential limitation of my solution.
>>> I saw something was proposed by Jiri Benc who pushed an additional flag to
>>> tell if the payload can be ignored in case of an error.
>>> http://patchwork.ozlabs.org/patch/290976/
>>>
>>> Do you think this one is acceptable ? I am not sure to understand David
>>> last comment.
>> I think David suggests something like the (completely untested)
>> attached patch.
> Yes, echo'ing the entire message back in an ACK is really pointless.
>
> Especially since if the user really is interested in noticing ACKs
> it can very easily keep the original request around and match on
> sequence number, as Pablo's patch's commit message suggests.
>
> We're stuck with the current behavior by default, but we can add the
> new ACK feature to deal with the issue in the long term.
prev parent reply other threads:[~2015-08-25 19:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-23 22:06 [RFC] netlink_ack: send a capped message in case of error Christophe Ricard
2015-08-23 22:06 ` [RFC] netlink: netlink_ack " Christophe Ricard
2015-08-24 3:27 ` Scott Feldman
[not found] ` <CALD+uuz7NHdWU0qqogu6_cs81Ng6gpcCPFUr4WUF+hpQPMaysg@mail.gmail.com>
2015-08-24 18:56 ` Pablo Neira Ayuso
2015-08-25 4:19 ` David Miller
2015-08-25 19:22 ` Christophe Ricard [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=55DCC074.3060907@gmail.com \
--to=christophe.ricard@gmail.com \
--cc=christophe-h.ricard@st.com \
--cc=davem@davemloft.net \
--cc=jbenc@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=sameo@linux.intel.com \
--cc=sfeldma@gmail.com \
/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.