aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2019-06-03 10:09:15 +0800
committerDavid S. Miller <[email protected]>2019-06-03 15:32:50 -0700
commitb524b38ff6320f58f5d0e95640eec82fae850887 (patch)
tree7b8e818fe1dc902d9cc45830435042cf6164e690 /net/unix/sysctl_net_unix.c
parent81a9255e476e556f9d3ed1b53d85904882c29555 (diff)
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 <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions