Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/txgbe: check process type in close operation
[ upstream commit 21ed282505ed8f60f03a93a27ac01f4152b8ab40 ] The secondary processes are not allowed to release shared resources. Only process-private resources should be freed in a secondary process. Most of the time, there is no process-private resource, so the close operation is just forbidden in a secondary process. Fixes: e1698e3 ("net/txgbe: add device init and uninit") Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
- Loading branch information