Home
last modified time | relevance | path

Searched refs:ipvl_nf_hook_refcnt (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_l3s.c10 unsigned int ipvl_nf_hook_refcnt; member
137 if (!vnet->ipvl_nf_hook_refcnt) { in ipvlan_register_nf_hook()
141 vnet->ipvl_nf_hook_refcnt = 1; in ipvlan_register_nf_hook()
143 vnet->ipvl_nf_hook_refcnt++; in ipvlan_register_nf_hook()
153 if (WARN_ON(!vnet->ipvl_nf_hook_refcnt)) in ipvlan_unregister_nf_hook()
156 vnet->ipvl_nf_hook_refcnt--; in ipvlan_unregister_nf_hook()
157 if (!vnet->ipvl_nf_hook_refcnt) in ipvlan_unregister_nf_hook()
169 if (!old_vnet->ipvl_nf_hook_refcnt) in ipvlan_migrate_l3s_hook()
180 if (WARN_ON_ONCE(vnet->ipvl_nf_hook_refcnt)) { in ipvlan_ns_exit()
181 vnet->ipvl_nf_hook_refcnt = 0; in ipvlan_ns_exit()