Re: [PATCH 03/11] iscsi: sysfs filtering by network namespace

2023-05-10 Thread michael . christie
On 5/6/23 4:29 PM, Chris Leech wrote: > +#define DECLARE_TRANSPORT_CLASS_NS(cls, nm, su, rm, cfg, ns, nslookup) > \ > +struct transport_class cls = { > \ > + .class = { \ > +

[PATCH 03/11] iscsi: sysfs filtering by network namespace

2023-05-06 Thread Chris Leech
This makes the iscsi_host, iscsi_session, iscsi_connection, iscsi_iface, and iscsi_endpoint transport class devices only visible in sysfs under a matching network namespace. The network namespace for all of these objects is tracked in the iscsi_cls_host structure. Signed-off-by: Lee Duncan