[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170511.214346.76939954403260957.davem@davemloft.net>
Date: Thu, 11 May 2017 21:43:46 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: andy@...yhouse.net
Cc: netdev@...r.kernel.org, shahid.habib@...adcom.com
Subject: Re: [PATCH net] samples/bpf: run cleanup routines when receiving
SIGTERM
From: Andy Gospodarek <andy@...yhouse.net>
Date: Thu, 11 May 2017 15:52:30 -0400
> 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>
Applied, thanks Andy.
Powered by blists - more mailing lists