netfilter: conntrack: label helpers conditional compilation updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netfilter: conntrack: compile label helpers unconditionallynet/ | +0 | 0 replies | |
| 2/2 | netfilter: conntrack: conditionally compile ctnetlink_label_sizenet/ | +2 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andy Shevchenko |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH nf-next 0/2] netfilter: conntrack: label helpers conditional compilation updates
Hi,
This short series updates conditional compilation of label helpers to:
1) Compile them regardless of if CONFIG_NF_CONNTRACK_LABELS is enabled or not. It is safe to do so as the functions will always return 0 if CONFIG_NF_CONNTRACK_LABELS is not enabled. And the compiler should optimise waway the code. Which is the desired behaviour.
2) Only compile ctnetlink_label_size if CONFIG_NF_CONNTRACK_EVENTS is enabled. This addresses a warning about this function being unused in this case.
Found by inspection.
Patches have been compile tested only.
---
Simon Horman (2):
netfilter: conntrack: compile label helpers unconditionally
netfilter: conntrack: conditionally compile ctnetlink_label_size
net/netfilter/nf_conntrack_netlink.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
base-commit: d5c4546062fd6f5dbce575c7ea52ad66d1968678