Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation on --enable-physdev-override
CC [M] /opt/tools/ipt-netflow/ipt_NETFLOW.o In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:76: /opt/tools/ipt-netflow/compat.h:701:1: error: redefinition of ???nf_bridge_info_get??? nf_bridge_info_get(const struct sk_buff *skb) ^~~~~~~~~~~~~~~~~~ In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:53: ./include/linux/netfilter_bridge.h:28:1: note: previous definition of ???nf_bridge_info_get??? was here nf_bridge_info_get(const struct sk_buff *skb) ^~~~~~~~~~~~~~~~~~ In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:76: /opt/tools/ipt-netflow/compat.h: In function ???nf_bridge_info_get???: /opt/tools/ipt-netflow/compat.h:703:14: error: ???const struct sk_buff??? has no member named ???nf_bridge???; did you mean ???nf_trace???? return skb->nf_bridge; ^~~~~~~~~ nf_trace Fixes: 8fe543c ("Fix compilation when CONFIG_BRIDGE_NETFILTER if undefined") Reported-by: Artem Egorkin <[email protected]>
- Loading branch information