mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Daniele Lacamera <daniele.lacamera@tass.be>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: [RFC] net: picoping: try to make it asynchronious: fail
Date: Mon, 2 Jun 2014 11:43:54 +0200	[thread overview]
Message-ID: <CAOngqVXStG-x8DHA=8B0WVdzhQaKS-k+MzvEUkrGC1hNYOD26A@mail.gmail.com> (raw)
In-Reply-To: <20140602083813.GY15686@pengutronix.de>

On Mon, Jun 2, 2014 at 10:38 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> On Fri, May 30, 2014 at 01:14:08PM +0400, Antony Pavlov wrote:
> This must be solved in the pico_icmp4.c code. The counterpart of
> pico_tree_insert (pico_tree_delete?) must be called as an response to
> ctrlc().
>
> How I see it pico_icmp4_ping should return the cookie so that a ping
> abort function can be implemented:
>
> void pico_icmp4_ping_abort(struct pico_icmp4_ping_cookie *cookie)
> {
>         pico_tree_delete(cookie);
>
>         release_whatever_resources();
> }
>

Sascha,

I agree on this point. We are already working to provide abort calls
for both ping operations and DHCP transactions.
I will keep you posted.

Thanks

-- 
Daniele Lacamera

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-06-02  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30  9:14 Antony Pavlov
2014-05-30  9:36 ` Holger Schurig
2014-06-02  8:38 ` Sascha Hauer
2014-06-02  9:43   ` Daniele Lacamera [this message]
2014-06-02 12:36     ` Daniele Lacamera

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='CAOngqVXStG-x8DHA=8B0WVdzhQaKS-k+MzvEUkrGC1hNYOD26A@mail.gmail.com' \
    --to=daniele.lacamera@tass.be \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox