Viacheslav Ovsiienko 942d13e6e7 net/mlx5: fix sharing context destroy order
At the mlx5 device closing the shared IB context was destroyed
before cleanup routines completion. As it was found on some
setups (Netlink fails with old kernel drivers and we have to use
sysfs to retrieve interface index, this requires IB device name,
which is stored in shared context) the mlx5_nl_mac_addr_flush()
requires IB device name, and if shared context is removed it
causes the segmentation fault.

Fixes: 17e19bc4dde7 ("net/mlx5: add IB shared context alloc/free functions")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-04-12 11:02:02 +02:00
2019-03-30 00:01:35 +01:00
2019-04-11 14:27:32 +02:00
2019-04-05 17:45:22 +02:00
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2019-04-11 14:27:32 +02:00
2018-11-26 20:19:24 +01:00
2019-04-05 17:45:22 +02:00
2016-11-13 15:25:12 +01:00
2019-03-13 11:57:05 +01:00
2019-02-26 15:29:27 +01:00
2019-04-05 17:45:22 +02:00
2019-04-03 01:11:56 +02:00
2018-01-04 22:41:38 +01:00
2019-04-05 21:58:09 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org
Description
No description provided
Readme 128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%