net: netfilter: Use list_{next/prev}_entry instead of list_entry
authorsimran singhal <singhalsimran0@gmail.com>
Wed, 29 Mar 2017 05:45:40 +0000 (11:15 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Apr 2017 15:33:02 +0000 (17:33 +0200)
commitcbbb40e2ec264bd63c410ff41cc8240c25419c49
tree8a4fded469a3f59003a258fcbaf5b7c882fc3433
parentcdec26858e7bd9340ad4a9c6e73670aa47c2b6ec
net: netfilter: Use list_{next/prev}_entry instead of list_entry

This patch replace list_entry with list_prev_entry as it makes the
code more clear to read.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c