]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb7e8c67522debb765ff4edfcdaabe276c25af6e
treecdac0bb46e98ab5c2529499d2170813ea6521504
parent474133bf1ceee337f77f4d0ada2e91d0b5e6f371
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