]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nft_compat: use _safe version of list_for_each
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 4 Nov 2013 12:58:56 +0000 (15:58 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Nov 2013 21:58:30 +0000 (22:58 +0100)
commitc359c4157cf0d852387aff2f2d83fef039aadc2c
treeadb151e14ebc9af2de4e25743275567a2c70e2c7
parentca0e8bd68bae3d0bad758b5a82dbf9327b75325c
netfilter: nft_compat: use _safe version of list_for_each

We need to use the _safe version of list_for_each_entry() here otherwise
we have a use after free bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c