netfilter: nf_tables: Use rcu lock to enhance protection of the lists
Status from this message: Applied to nf, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()net/ | +6 | 1 reply | |
| 2/2 | netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()net/ | +6 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/2] netfilter: nf_tables: Use rcu lock to enhance protection of the lists
nf_tables_expressions and nf_tables_objects lists can be concurrent between type lookup and module unloading process. But there is not any protection in type lookup process. Therefore, there is pertential data-race of the lists entry.
Use rcu lock to enhance protection of the lists.
Ziyang Xuan (2):
netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
net/netfilter/nf_tables_api.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1