[dpdk-stable] [dpdk-dev] [PATCH] net/tap: fix unexpected link handler

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 16 17:06:34 CEST 2020


On 4/16/2020 2:50 PM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> The nic's interrupt source has some active handler, which maybe call
> tap_dev_intr_handler() to set link handler. We should cancel the link
> handler before close fd to prevent executing the link handler. It
> triggers segfault.
> 
> Call Trace:
>    0x00007f15e08dad99 in __rte_panic (Error adding fd %d epoll_ctl, %s\n")
>    0x00007f15e08e9b87 in eal_intr_thread_main ()
>    0x00007f15e249be15 in start_thread ()
>    0x00007f15d5322f9d in clone ()
> 
> Fixes: c0bddd3a057f ("net/tap: add link status notification")
> CC: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.



More information about the stable mailing list