Hey Sven,
you are right, this might be indeed a problem. I'll send an updated patch
which removes the problem by employing atomic_add_unless().
Marek also pointed out that global variables are not very pretty as we are
moving all the global stuff into bat_priv to allow multiple mesh soft
interfa
On Monday 05 April 2010 04:46:03 Simon Wunderlich wrote:
> Index: a/batman-adv-kernelland/send.c
> ===
> --- a/batman-adv-kernelland/send.c(revision 1616)
> +++ a/batman-adv-kernelland/send.c(working copy)
> @@ -382,12 +382,21
This patch limits the queue lengths of batman and broadcast packets. BATMAN
packets are held back for aggregation and jittered to avoid interferences.
Broadcast packets are stored to be sent out multiple times to increase
the probability to be received by other nodes in lossy environments.
Especia