All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Andy Gospodarek <andy@greyhouse.net>, netdev@vger.kernel.org
Cc: shahid.habib@broadcom.com
Subject: Re: [PATCH net] samples/bpf: run cleanup routines when receiving SIGTERM
Date: Fri, 12 May 2017 01:34:56 +0200	[thread overview]
Message-ID: <5914F520.3010709@iogearbox.net> (raw)
In-Reply-To: <1494532350-23945-1-git-send-email-andy@greyhouse.net>

On 05/11/2017 09:52 PM, Andy Gospodarek wrote:
> Shahid Habib noticed that when xdp1 was killed from a different console the xdp
> program was not cleaned-up properly in the kernel and it continued to forward
> traffic.
>
> Most of the applications in samples/bpf cleanup properly, but only when getting
> SIGINT.  Since kill defaults to using SIGTERM, add support to cleanup when the
> application receives either SIGINT or SIGTERM.
>
> Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
> Reported-by: Shahid Habib <shahid.habib@broadcom.com>

Acked-by: Daniel Borkmann <daniel@iogearbox.net>

  parent reply	other threads:[~2017-05-11 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-11 19:52 [PATCH net] samples/bpf: run cleanup routines when receiving SIGTERM Andy Gospodarek
2017-05-11 23:16 ` Alexei Starovoitov
2017-05-11 23:34 ` Daniel Borkmann [this message]
2017-05-12  1:43 ` David Miller

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=5914F520.3010709@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=andy@greyhouse.net \
    --cc=netdev@vger.kernel.org \
    --cc=shahid.habib@broadcom.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.