[dpdk-dev] [PATCH v3 2/3] examples/l2fwd: Handle SIGINT and SIGTERM in l2fwd

Stephen Hemminger stephen at networkplumber.org
Wed Dec 30 18:35:11 CET 2015


On Mon, 28 Dec 2015 20:20:31 -0500
Zhihong Wang <zhihong.wang at intel.com> wrote:

> +	/* exit with the expected status */
> +	if (force_quit) {
> +		signal(signo_quit, SIG_DFL);
> +		kill(getpid(), signo_quit);

This is really not necessary. Most other programs don't do this.


More information about the dev mailing list