Re: [dpdk-dev] [PATCH 2/2] net/tap: fix unregistering callback with invalid fd

2017-09-20 Thread Ferruh Yigit
On 9/19/2017 1:46 PM, Pascal Mazon wrote: <...> > On 18/09/2017 20:47, Ferruh Yigit wrote: >> From: Vipin Varghese >> >> tap_intr_handle_set() called by tap_dev_start(), and if LSC is disabled >> (dev_conf.intr_conf.lsc == 0), it tries to unregister interrupt >> callback without checking the inter

Re: [dpdk-dev] [PATCH 2/2] net/tap: fix unregistering callback with invalid fd

2017-09-19 Thread Pascal Mazon
Looks good. Best regards, Pascal Acked-by: Pascal Mazon On 18/09/2017 20:47, Ferruh Yigit wrote: > From: Vipin Varghese > > tap_intr_handle_set() called by tap_dev_start(), and if LSC is disabled > (dev_conf.intr_conf.lsc == 0), it tries to unregister interrupt > callback without checking the

[dpdk-dev] [PATCH 2/2] net/tap: fix unregistering callback with invalid fd

2017-09-18 Thread Ferruh Yigit
From: Vipin Varghese tap_intr_handle_set() called by tap_dev_start(), and if LSC is disabled (dev_conf.intr_conf.lsc == 0), it tries to unregister interrupt callback without checking the interrupt file descriptor. Fixes: c0bddd3a057f ("net/tap: add link status notification") Cc: sta...@dpdk.org