diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-04 07:50:23 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-04 21:47:01 +0200 |
commit | 87fc2a620a398e970872064841b0db7cc6d0149f (patch) | |
tree | fff3d636ab33a8ea70c3b95886d21f4a7da2b589 /net/ipv4/igmp.c | |
parent | Merge branch 'mlx5-dump-fill-mkey' into rdma.git for-next (diff) | |
download | linux-87fc2a620a398e970872064841b0db7cc6d0149f.tar.xz linux-87fc2a620a398e970872064841b0db7cc6d0149f.zip |
RDMA/uverbs: Store the specs_root in the struct ib_uverbs_device
The specs are required to operate the uverbs file, so they belong inside
the ib_uverbs_device, not inside the ib_device. The spec passed in the
ib_device is just a communication from the driver and should not be used
during runtime.
This also changes the lifetime of the spec memory to match the
ib_uverbs_device, however at this time the spec_root can still contain
driver pointers after disassociation, so it cannot be used if ib_dev is
NULL. This is preparation for another series.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'net/ipv4/igmp.c')
0 files changed, 0 insertions, 0 deletions