[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5914F520.3010709@iogearbox.net>
Date: Fri, 12 May 2017 01:34:56 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Andy Gospodarek <andy@...yhouse.net>, netdev@...r.kernel.org
CC: shahid.habib@...adcom.com
Subject: Re: [PATCH net] samples/bpf: run cleanup routines when receiving
SIGTERM
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@...yhouse.net>
> Reported-by: Shahid Habib <shahid.habib@...adcom.com>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists