diff options
author | Guojia Liao <[email protected]> | 2021-08-26 19:21:58 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-08-26 07:24:17 -0700 |
commit | 94391fae82f71c98ecc7716a32611fcca73c74eb (patch) | |
tree | 738c8ebbb8339cf97accc5eace1fd157f767c72a /net/lapb/lapb_timer.c | |
parent | b15c072a9f4a404c09ad589477f4389034742a8b (diff) |
net: hns3: fix duplicate node in VLAN list
VLAN list should not be added duplicate VLAN node, otherwise it would
cause "add failed" when restore VLAN from VLAN list, so this patch adds
VLAN ID check before adding node into VLAN list.
Fixes: c6075b193462 ("net: hns3: Record VF vlan tables")
Signed-off-by: Guojia Liao <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions