Whamcloud - gitweb
LU-7845 lnet: check if ni is in current net namespace
[fs/lustre-release.git] / lnet / include / lnet / lib-types.h
index 1a1b090..c8f0fb5 100644 (file)
@@ -291,6 +291,7 @@ typedef struct lnet_ni {
        struct lnet_ioctl_config_lnd_tunables *ni_lnd_tunables;
        /* equivalent interfaces to use */
        char                    *ni_interfaces[LNET_MAX_INTERFACES];
+       struct net              *ni_net_ns;     /* original net namespace */
 } lnet_ni_t;
 
 #define LNET_PROTO_PING_MATCHBITS      0x8000000000000000LL