numam-dpdk/drivers/net/nfp
Heinrich Kuhn 851f03e1ea net/nfp: cancel delayed LSC work in port close
The link state change interrupt handler of the NFP PMD will delay the
actual LSC work for a short period to ensure the link is stable. If the
link of the port changes state and the port is closed immediately after
the link event then a segmentation fault will occur. This happens
because the delayed LSC work eventually triggers and this logic will try
to access private port data that had been released when the port was
closed.

Fixes: 6c53f87b34 ("nfp: add link status interrupt")
Cc: stable@dpdk.org

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
2021-10-07 12:19:53 +02:00
..
nfpcore drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
meson.build net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_common.c net/nfp: cancel delayed LSC work in port close 2021-10-07 12:19:53 +02:00
nfp_common.h net/nfp: cancel delayed LSC work in port close 2021-10-07 12:19:53 +02:00
nfp_cpp_bridge.c net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_cpp_bridge.h net/nfp: move CPP bridge to separate file 2021-08-17 18:26:57 +02:00
nfp_ctrl.h net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_ethdev_vf.c net/nfp: cancel delayed LSC work in port close 2021-10-07 12:19:53 +02:00
nfp_ethdev.c net/nfp: cancel delayed LSC work in port close 2021-10-07 12:19:53 +02:00
nfp_logs.h net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_rxtx.c ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
nfp_rxtx.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00