commit | 0530bd6e6a3d5a0292a1a5f33ea980ae7e8b56ca | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Wed Nov 18 22:40:37 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Nov 19 10:59:19 2020 -0800 |
tree | 262be117490f7112e6058e20fcb2af7bdc41e855 | |
parent | 2d8f6481c17db9fa5238b277cdbc392084060b09 [diff] |
net/smc: fix matching of existing link groups With the multi-subnet support of SMC-Dv2 the match for existing link groups should not include the vlanid of the network device. Set ini->smcd_version accordingly before the call to smc_conn_create() and use this value in smc_conn_create() to skip the vlanid check. Fixes: 5c21c4ccafe8 ("net/smc: determine accepted ISM devices") Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>