diff options
author | Jian Shen <[email protected]> | 2020-04-24 10:23:11 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-25 20:29:44 -0700 |
commit | c631c696823cdddbf3c683c3b78812ecba31c350 (patch) | |
tree | 7375392e8545db9e138c8f25418f841a4589a0bf /lib/memory-notifier-error-inject.c | |
parent | f671237a4b4521dfde5f96c2b088287712e72f4b (diff) |
net: hns3: refactor the promisc mode setting
As the HNS3 driver doesn't update the MAC address directly in
function hns3_set_rx_mode() now, it can't know whether the
MAC table is full from __dev_uc_sync() and __dev_mc_sync(),
so it's senseless to handle the overflow promisc here.
This patch removes the handle of overflow promisc from function
hns3_set_rx_mode(), and updates the promisc mode in the service
task.
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions