On Mon, Jun 18, 2012 at 12:21:32PM +0200, Simon Wunderlich wrote:
+ msecs = msecs % 1000;
+
+
+ is_own = batadv_compare_eth(backbone_gw-orig,
Why two empty lines?
+static inline int batadv_bla_backbone_table_seq_print_text(struct seq_file
*seq,
+
In the current TT code, when a TT_Response containing a full table is received
form an originator, the node first purges all the clients for that originator in
the global translation-table and then merges the new received table.
During the purging phase each client deletion is done by means of a
This is especially useful if there are no claims yet, but we still want
to know which gateways are using bridge loop avoidance in the network.
Signed-off-by: Simon Wunderlich s...@hrz.tu-chemnitz.de
---
[EDITv2: forgot to rename the function ...]
[EDITv3: add README entry]
[EDITv4: fix style]
Hi Simon, thanks for your reply!
El 15/06/2012 06:55 a.m., Simon Wunderlich escribió:
On Thu, Jun 14, 2012 at 04:51:01PM -0300, gto...@inti.gob.ar wrote:
Hi,
we are interested too in interface alternating, so we made some
tests to understand how it works. As you can see on the attached
Hello David,
here is our first set of changes intended for next-next/linux-3.6.
Patch 2 fixes a major bug in the TranslationTable code where the old value of
skb-data is used for memory access even if the data was relocated.
Patches 4, 10, 11, 13, 14 are endianess-related cleanups that we
From: Sven Eckelmann s...@narfation.org
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/main.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index
From: Sven Eckelmann s...@narfation.org
The hash for claim and backbone hash in the bridge loop avoidance code receive
the same key because they are getting initialized by hash_new with the same
key. Lockdep will create a backtrace when they are used recursively. This can
be avoided by
In the code we neever need to atomically check and set the bat_priv-tt_crc
field value. It is simply set and read once in different pieces of the code.
Therefore this field can be safely be converted from atomic_t to uint16_t.
Reported-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Antonio
From: Martin Hundebøll mar...@hundeboll.net
Added additional counters in a bat_stats structure, which are exported
through the ethtool api. The counters are specific to batman-adv and
includes:
forwarded packets and bytes
management packets and bytes (aggregated OGMs at this point)
translation
From: Marek Lindner lindner_ma...@yahoo.de
Reported-by: Andrew Lunn and...@lunn.ch
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/bat_iv_ogm.c |2 +-
From: Marek Lindner lindner_ma...@yahoo.de
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de
Acked-by: Antonio Quartulli or...@autistici.org
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/translation-table.c |2 +-
1
From: Al Viro v...@zeniv.linux.org.uk
memcpy() arguments are void *, precisely to avoid that kind of pointless
casts.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/bridge_loop_avoidance.c |6 +++---
net/batman-adv/packet.h| 12
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/bat_iv_ogm.c | 22 +++---
net/batman-adv/packet.h |2 +-
2 files
From: Sven Eckelmann s...@narfation.org
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/bat_debugfs.c | 11 +++
net/batman-adv/bat_iv_ogm.c|2 +-
net/batman-adv/bat_sysfs.c |
From: Al Viro v...@zeniv.linux.org.uk
just keep it net-endian all along
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
[lindner_ma...@yahoo.de: fix checkpatch warnings]
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio
From: Al Viro v...@zeniv.linux.org.uk
Keep it net-endian
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/bat_iv_ogm.c | 10 ++
net/batman-adv/packet.h |2 +-
From: Matthias Schiffer mschif...@universe-factory.net
The primary entry and the corresponding secondary entries are missing when there
are no neighbors on the primary interface. This also causes the TT entries to
miss and makes nodes with multiply secondary interface fall apart since there
is no
From: Marek Lindner lindner_ma...@yahoo.de
Prior to this patch the translation table code made assumptions about how
the routing protocol works and where its buffers are stored (to directly
modify them).
Each protocol now calls the tt code with the relevant pointers, thereby
abstracting the code.
Each time a new log level is added the developer must change either the DBG_ALL
enum definition and the hard coded value in the bat_sysfs.c for the log_level
attribute max value. This is extremely error prone.
With this patch the code directly uses DBG_ALL in the sysfs definition
Signed-off-by:
From: Marek Lindner lindner_ma...@yahoo.de
Signed-off-by: Marek Lindner lindner_ma...@yahoo.de
Signed-off-by: Sven Eckelmann s...@narfation.org
Signed-off-by: Antonio Quartulli or...@autistici.org
---
net/batman-adv/gateway_common.c |3 +++
1 file changed, 3 insertions(+)
diff --git
From: Antonio Quartulli or...@autistici.org
Date: Mon, 18 Jun 2012 22:39:04 +0200
Hello David,
here is our first set of changes intended for next-next/linux-3.6.
Patch 2 fixes a major bug in the TranslationTable code where the old value of
skb-data is used for memory access even if
22 matches
Mail list logo