The branch, for_sven has been created at 30c741e3120d8b28493d804e9226dca51fddadcc (commit)
- Shortlog ------------------------------------------------------------ commit 30c741e3120d8b28493d804e9226dca51fddadcc Author: Sven Eckelmann sven@narfation.org Date: Sun Feb 5 15:23:55 2012 +0100
batman-adv: batman-adv: Start new development cycle
Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit c4e2f6ec0dc53e70d5cf9e1a5d7592d2454a5399 Author: Antonio Quartulli ordex@autistici.org Date: Thu Jan 12 19:07:00 2012 +0100
batman-adv: TT_CLIENT_PENDING is never set in struct tt_global_entry
Actually the TT_CLIENT_PENDING flag is never set in the tt_global_entry structure, therefore this code is useless and can be removed.
Reported-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 9798e8c647c64942c36a294a30ef1971901836a8 Author: Antonio Quartulli ordex@autistici.org Date: Fri Jan 6 21:31:34 2012 +0100
batman-adv: code refactoring - move debug print into tt_local_set_pending
Each tt_local_set_pending is always followed by a bat_dbg invocation. This can be simplified by moving the bat_dbg() call.
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 9acae94fae31d4cde538277c8f419a3f5bddd59b Author: Antonio Quartulli ordex@autistici.org Date: Fri Jan 6 21:31:33 2012 +0100
batman-adv: set TT_CLIENT_NEW flag before invoking hash_add()
In case of a new tt_local_entry, the TT_CLIENT_NEW flag has to be set before adding such entry to the hash table. Otherwise, it opens a race condition in which the entry can be found but the flag has not been set.
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit fa3695bc0566fc9a1a6c05ecb680c40744077d0f Author: Sven Eckelmann sven@narfation.org Date: Sun Jan 1 00:41:38 2012 +0100
batman-adv: Update copyright years
Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit ffa047e69d3d5cbc6d7619081a848ff41607e34a Author: Simon Wunderlich simon.wunderlich@s2003.tu-chemnitz.de Date: Tue Dec 27 17:24:07 2011 +0100
batman-adv: convert all times to miliseconds
has_timed_out() takes the second argument in miliseconds. The commit "batman-adv: convert time_after instances to has_timed_out" introduced some bugs by confusing seconds and miliseconds.
This patch converts all timeouts to miliseconds to be consistent, and also fixes the previously introduced bugs.
Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit ebedc50b460f993caa8bd888fa2481fa12493b9f Author: Sven Eckelmann sven@narfation.org Date: Thu Dec 22 20:31:12 2011 +0800
batman-adv: refactor tt_global_del() to avoid misalignment
Signed-off-by: Sven Eckelmann sven@narfation.org Acked-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 664bb42d826811aa599f9d201be0854fa30a1458 Author: Marek Lindner lindner_marek@yahoo.de Date: Tue Dec 20 19:30:40 2011 +0800
batman-adv: convert time_after instances to has_timed_out
To increase readability the has_timed_out() functions has been introduced. This patch converts existing time_after() calls to use this wrapper function (if applicable).
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 3847ed4b509b8871c6c65fb9b8be799eb93c7709 Author: Marek Lindner lindner_marek@yahoo.de Date: Tue Nov 29 00:15:37 2011 +0800
batman-adv: export used routing algorithm via sysfs
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 47ccdbffc14e670017507848401df41fda535f34 Author: Marek Lindner lindner_marek@yahoo.de Date: Sat Dec 10 19:45:53 2011 +0800
batman-adv: allowing changing the routing algorithm via module parameter
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit ca7c6b4fc094a2aa854c893928bf8f332e2cd6ff Author: Marek Lindner lindner_marek@yahoo.de Date: Mon Nov 28 21:31:55 2011 +0800
batman-adv: convert batman iv algorithm to use dynamic infrastructure
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit b150690663b6d34a02913a28c685a4f6ca4eab4d Author: Marek Lindner lindner_marek@yahoo.de Date: Mon Nov 28 17:40:17 2011 +0800
batman-adv: add infrastructure to change routing algorithm at runtime
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 1a0c9d7d95178f7dbb37d9474585bda447aee225 Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Dec 7 18:02:50 2011 +0800
batman-adv: warn if added interface is part of a bridge
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 08b456b5068487cf2d96a18b9259c44879420533 Author: Martin Hundebøll martin@hundeboll.net Date: Thu Dec 8 13:32:41 2011 +0100
batman-adv: Move is_out_of_time() to main.h for general use
Both translation tables and network coding use timeouts to do house keeping, so we might as well share the function used to compare a timestamp+timeout with current time.
For readability and simplicity, the function is renamed to has_timed_out() and uses time_is_before_jiffies() instead of time_after().
Signed-off-by: Martin Hundebøll martin@hundeboll.net Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 7bc063a6cc1a1a2efbc1b9469a9da1978b6b6bb5 Author: Martin Hundebøll martin@hundeboll.net Date: Thu Dec 8 12:48:26 2011 +0100
batman-adv: Rm empty line from is_my_mac() in main.c
Signed-off-by: Martin Hundebøll martin@hundeboll.net Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit 27351b79f9986c5c2c245259f9a1583c51e874b1 Author: Marek Lindner lindner_marek@yahoo.de Date: Mon Dec 5 04:01:51 2011 +0800
batman-adv: simplify bat_ogm_receive API call
Most of the values in that call are derived from the skb, so we can hand over the skb instead.
Reported-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit f4803130f380c57ab38bd4619f7802f0f64bf222 Author: Sven Eckelmann sven@narfation.org Date: Sun Nov 20 15:47:38 2011 +0100
batman-adv: Explicitly mark the common header structure
All batman-adv packets have a common 3 byte header. It can be used to share some code between different code paths, but it was never explicit stated that this header has to be always the same for all packets. Therefore, new code changes always have the problem that they may accidently introduce regressions by moving some elements around.
A new structure is introduced that contains the common header and makes it easier visible that these 3 bytes have to be the same for all on-wire packets.
Signed-off-by: Sven Eckelmann sven@narfation.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
commit d22620ab6ef6b3ead7ea7c22f772c489dff3646b Author: Antonio Quartulli ordex@autistici.org Date: Mon Nov 7 16:36:40 2011 +0100
batman-adv: add tt_initialised flag to the orig_node struct
(ttvn == 0) is currently used as initial condition. However this is not a good idea because ttvn gets the vale zero each time after reaching the maximum value (wrap around). For this reason a new flag is added in order to define whether a node has an initialised table or not. Moreover, after invoking tt_global_del_orig(), tt_initialised has to be set to false
Reported-by: Alexey Fisher bug-track@fisher-privat.net Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de Tested-by: Alexey Fisher bug-track@fisher-privat.net Signed-off-by: Marek Lindner lindner_marek@yahoo.de
-----------------------------------------------------------------------