Lines Matching refs:ext
555 kfree(tmpl->ext);
839 static bool nf_ct_ext_valid_pre(const struct nf_ct_ext *ext)
841 /* if ext->gen_id is not equal to nf_conntrack_ext_genid, some extensions
848 return !ext || ext->gen_id == atomic_read(&nf_conntrack_ext_genid);
851 static bool nf_ct_ext_valid_post(struct nf_ct_ext *ext)
853 if (!ext)
856 if (ext->gen_id != atomic_read(&nf_conntrack_ext_genid))
862 WRITE_ONCE(ext->gen_id, 0);
881 if (!nf_ct_ext_valid_pre(ct->ext))
921 * Increment of the ext genid right after this check is fine:
924 if (!nf_ct_ext_valid_post(ct->ext)) {
1204 if (!nf_ct_ext_valid_pre(ct->ext)) {
1263 /* ext area is still valid (rcu read lock is held,
1267 if (!nf_ct_ext_valid_post(ct->ext)) {
1688 kfree(ct->ext);