Re: [PATCH] netfilter: nf_tables: fix oops when deleting a chain with references

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

 



On Sat, Jan 25, 2014 at 08:04:07AM +0000, Patrick McHardy wrote:
> commit 780f57420cdac84eabec388868678ede19f7d682
> Author: Patrick McHardy <kaber@xxxxxxxxx>
> Date:   Fri Jan 24 13:23:52 2014 +0000
> 
>     netfilter: nf_tables: fix oops when deleting a chain with references
> 
>     THe following commands trigger an oops:
> 
>     # nft -i
>     nft> add table filter
>     nft> add chain filter input { type filter hook input priority 0; }
>     nft> add chain filter test 
>     nft> add rule filter input jump test
>     nft> delete chain filter test
>     
>     We need to check the chain use counter before allowing destruction since
>     we might have references from sets or jump rules.

Applied, thanks Patrick.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux