Re: [PATCH nf-next] netfilter: nf_dup{4,6}: fix build error when nf_conntrack disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
Date: Wed,  2 Sep 2015 20:54:02 +0200

> While testing various Kconfig options on another issue, I found that
> the following one triggers as well on allmodconfig and nf_conntrack
> disabled:
> 
>   net/ipv4/netfilter/nf_dup_ipv4.c: In function ʽnf_dup_ipv4ʼ:
>   net/ipv4/netfilter/nf_dup_ipv4.c:72:20: error: ʽnf_skb_duplicatedʼ undeclared (first use in this function)
>     if (this_cpu_read(nf_skb_duplicated))
>   [...]
>   net/ipv6/netfilter/nf_dup_ipv6.c: In function ʽnf_dup_ipv6ʼ:
>   net/ipv6/netfilter/nf_dup_ipv6.c:66:20: error: ʽnf_skb_duplicatedʼ undeclared (first use in this function)
>     if (this_cpu_read(nf_skb_duplicated))
> 
> Fix it by including directly the header where it is defined.
> 
> Fixes: bbde9fc1824a ("netfilter: factor out packet duplication for IPv4/IPv6")
> Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>

I'll take this directly to simplify things.

Thanks Daniel.
?τθΊ{.nΗ+?·???­?+%?Λ?±ιέΆ??w?Ί{.nΗ+?·§zΧβ?Χ«ύΧ―z_β?Ψ^n?rʽφ¦zΛ?λh?¨θ­Ϊ&£ϋΰzΏδzΉή?ϊ+?Κ+zf£ʼ·h??§~?­?Ϋi??ο?κ??κηz_θ?ζj:+v?¨ώ)ί£ψm




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux