Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/nfp: fix reconfigure logic of set MAC address
[ upstream commit d67022275d3b423850c629036d33fdfadeb874a8 ] If the reconfigure API exit abnormally, the value in the config bar will not same with the value stored in the data structure. Fix this by add a local variable to hold the temporary value and the logic of store it when no error happen. Fixes: 2fe669f ("net/nfp: support MAC address change") Signed-off-by: Chaoyong He <[email protected]>
- Loading branch information