summaryrefslogtreecommitdiffstats
path: root/include/linux_list.h
Commit message (Collapse)AuthorAgeFilesLines
* include: Silence gcc warning in linux_list.hPhil Sutter2022-03-291-1/+1
| | | | | | | | | | | | | Compiler complained about empty prefetch() macro: | ../include/linux_list.h:385:66: warning: right-hand operand of comma expression has no effect [-Wunused-value] | 385 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | | ^ Use nftables' variant instead which gcc seems to like more. Fixes: 36d2ed3de20a3 ("major cleanup of index2name infrastructure: use linux list (and fix leak in the nlif_close path)") Signed-off-by: Phil Sutter <phil@nwl.cc>
* major cleanup of index2name infrastructure: use linux list (and fix leak in ↵Pablo Neira Ayuso2008-05-251-0/+727
the nlif_close path)