Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: hns3: only enable unicast promisc when mac table full
Currently, the driver will enable unicast promisc for the function once configure mac address fail. It's unreasonable when the failure is caused by using same mac address with other functions. So only enable unicast promisc when mac table full. Fixes: c631c69 ("net: hns3: refactor the promisc mode setting") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
- Loading branch information