summaryrefslogtreecommitdiffstats
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-06-03 04:09:15 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-04 00:32:50 +0200
commitb524b38ff6320f58f5d0e95640eec82fae850887 (patch)
tree7b8e818fe1dc902d9cc45830435042cf6164e690 /mm/mempool.c
parentnet: hns3: don't configure new VLAN ID into VF VLAN table when it's full (diff)
downloadlinux-b524b38ff6320f58f5d0e95640eec82fae850887.tar.xz
linux-b524b38ff6320f58f5d0e95640eec82fae850887.zip
net: hns3: fix VLAN filter restore issue after reset
In orginal codes, the driver only restore VLAN filter entries for PF after reset, the VLAN entries of VF will lose in this case. This patch fixes it by recording VLAN IDs for each function when add VLAN, and restore the VLAN IDs after reset. Fixes: 681ec3999b3d ("net: hns3: fix for vlan table lost problem when resetting") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions