[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170511231608.6s2juais2aixh65n@ast-mbp>
Date: Thu, 11 May 2017 16:16:10 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andy Gospodarek <andy@...yhouse.net>
Cc: netdev@...r.kernel.org, shahid.habib@...adcom.com
Subject: Re: [PATCH net] samples/bpf: run cleanup routines when receiving
SIGTERM
On Thu, May 11, 2017 at 03:52:30PM -0400, 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@...yhouse.net>
> Reported-by: Shahid Habib <shahid.habib@...adcom.com>
Thanks for the fix.
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists