Re: [PATCH nf] netfilter: arptables: use pernet ops struct during unregister

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

 



On Mon, May 03, 2021 at 01:51:15PM +0200, Florian Westphal wrote:
> Like with iptables and ebtables, hook unregistration has to use the
> pernet ops struct, not the template.
> 
> This triggered following splat:
>   hook not found, pf 3 num 0
>   WARNING: CPU: 0 PID: 224 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x1eb/0x610 net/netfilter/core.c:480
> [..]
>  nf_unregister_net_hook net/netfilter/core.c:502 [inline]
>  nf_unregister_net_hooks+0x117/0x160 net/netfilter/core.c:576
>  arpt_unregister_table_pre_exit+0x67/0x80 net/ipv4/netfilter/arp_tables.c:1565

Applied, thanks.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux