batman-adv: protect tt request from double deletion
authorMarek Lindner <mareklindner@neomailbox.ch>
Sun, 21 Jun 2015 16:36:28 +0000 (00:36 +0800)
committerAntonio Quartulli <antonio@meshcoding.com>
Fri, 14 Aug 2015 20:52:09 +0000 (22:52 +0200)
commit1f155101646e6f6cda218534ff6e252ff625137b
tree5a2186c2125657c96fa4a682ecf24080d9696395
parent8a4023c5b5e30b11f1f383186f4a7222b3b823cf
batman-adv: protect tt request from double deletion

The list_del() calls were changed to list_del_init() to prevent
an accidental double deletion in batadv_tt_req_node_new().

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/translation-table.c