diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-29 10:35:00 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-03 04:27:44 +0200 |
commit | 760109760455a0a35491cb02a3bc3e15f0c180f6 (patch) | |
tree | e77d4cf0db3cdcacbbc85f872c0256148714829a /net | |
parent | IB/ipoib: Maintain the child_intfs list from ndo_init/uninit (diff) | |
download | linux-760109760455a0a35491cb02a3bc3e15f0c180f6.tar.xz linux-760109760455a0a35491cb02a3bc3e15f0c180f6.zip |
IB/ipoib: Consolidate checking of the proposed child interface
Move all the checking for pkey and other validity to the __ipoib_vlan_add
function. This removes the last difference from the control flow
of the __ipoib_vlan_add to make the overall design simpler to
understand.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions