batman-adv: Use proper name for fragments list head
authorSven Eckelmann <sven@narfation.org>
Wed, 27 Jul 2016 10:31:07 +0000 (12:31 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 19 Oct 2016 06:37:52 +0000 (08:37 +0200)
commit176e5b772b113f9ab013d574e13d8a433d47bbcb
treecdac0bb46e98ab5c2529499d2170813ea6521504
parent422d2f77803d85477df72f3153e85fd2b8c6b9e9
batman-adv: Use proper name for fragments list head

The batman-adv codebase is using "list" for the list node (prev/next) and
<list content descriptor>+"_list" for the head of a list. Not using this
naming scheme can up in confusions because list_head is used for both the
head of the list and the list node (prev/next) in each item of the list.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/fragmentation.c
net/batman-adv/fragmentation.h
net/batman-adv/originator.c
net/batman-adv/types.h