<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/net/batman-adv, branch linux-3.5.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2012-10-12T20:47:01+00:00</updated>
<entry>
<title>batman-adv: make batadv_test_bit() return 0 or 1 only</title>
<updated>2012-10-12T20:47:01+00:00</updated>
<author>
<name>Linus Lüssing</name>
<email>linus.luessing@web.de</email>
</author>
<published>2012-09-14T00:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=09a43fc5164aaab58cae9e1d013558effb7c40ae'/>
<id>urn:sha1:09a43fc5164aaab58cae9e1d013558effb7c40ae</id>
<content type='text'>
[ Upstream commit dbd6b11e15a2f96030da17dbeda943a8a98ee990 ]

On some architectures test_bit() can return other values than 0 or 1:

With a generic x86 OpenWrt image in a kvm setup (batadv_)test_bit()
frequently returns -1 for me, leading to batadv_iv_ogm_update_seqnos()
wrongly signaling a protected seqno window.

This patch tries to fix this issue by making batadv_test_bit() return 0
or 1 only.

Signed-off-by: Linus Lüssing &lt;linus.luessing@web.de&gt;
Acked-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: check incoming packet type for bla</title>
<updated>2012-07-05T22:08:46+00:00</updated>
<author>
<name>Simon Wunderlich</name>
<email>simon.wunderlich@s2003.tu-chemnitz.de</email>
</author>
<published>2012-07-04T18:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2d3f6ccc4ea5c74d4b4af1b47c56b4cff4bbfcb7'/>
<id>urn:sha1:2d3f6ccc4ea5c74d4b4af1b47c56b4cff4bbfcb7</id>
<content type='text'>
If the gateway functionality is used, some broadcast packets (DHCP
requests) may be transmitted as unicast packets. As the bridge loop
avoidance code now only considers the payload Ethernet destination,
it may drop the DHCP request for clients which are claimed by other
backbone gateways, because it falsely infers from the broadcast address
that the right backbone gateway should havehandled the broadcast.

Fix this by checking and delegating the batman-adv packet type used
for transmission.

Reported-by: Guido Iribarren &lt;guidoiribarren@buenosaireslibre.org&gt;
Signed-off-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: fix race condition in TT full-table replacement</title>
<updated>2012-06-23T15:21:35+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2012-06-20T12:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8b8e4bc0391f8abbcdb9e1c54415bcc0f4f5a2a0'/>
<id>urn:sha1:8b8e4bc0391f8abbcdb9e1c54415bcc0f4f5a2a0</id>
<content type='text'>
bug introduced with cea194d90b11aff7fc289149e4c7f305fad3535a

In the current TT code, when a TT_Response containing a full table is received
from an originator, first the node purges all the clients for that originator in
the global translation-table and then merges the newly received table.
During the purging phase each client deletion is done by means of a call_rcu()
invocation and at the end of this phase the global entry counter for that
originator is set to 0. However the invoked rcu function decreases the global
entry counter for that originator by one too and since the rcu invocation is
likely to be postponed, the node will end up in first setting the counter to 0
and then decreasing it one by one for each deleted client.

This bug leads to having a wrong global entry counter for the related node, say
X. Then when the node with the broken counter will answer to a TT_REQUEST on
behalf of node X, it will create faulty TT_RESPONSE that will generate an
unrecoverable situation on the node that asked for the full table recover.

The non-recoverability is given by the fact that the node with the broken
counter will keep answering on behalf of X because its knowledge about X's state
(ttvn + tt_crc) is correct.

To solve this problem the counter is not explicitly set to 0 anymore and the
counter decrement is performed right before the invocation of call_rcu().

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: only drop packets of known wifi clients</title>
<updated>2012-06-23T15:21:11+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2012-06-20T15:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5870adc68fc39d81089f1e80efdf64b97e5c37a1'/>
<id>urn:sha1:5870adc68fc39d81089f1e80efdf64b97e5c37a1</id>
<content type='text'>
bug introduced with 59b699cdee039d75915c354da06937102d1f9a84

If the source or destination mac address of an ethernet packet
could not be found in the translation table the packet was
dropped if AP isolation was turned on. This behavior would
make it impossible to send broadcast packets over the mesh as
the broadcast address will never enter the translation table.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Acked-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: fix skb-&gt;data assignment</title>
<updated>2012-06-19T21:49:08+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2012-06-19T09:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2c995ff892313009e336ecc8ec3411022f5b1c39'/>
<id>urn:sha1:2c995ff892313009e336ecc8ec3411022f5b1c39</id>
<content type='text'>
skb_linearize(skb) possibly rearranges the skb internal data and then changes
the skb-&gt;data pointer value. For this reason any other pointer in the code that
was assigned skb-&gt;data before invoking skb_linearise(skb) must be re-assigned.

In the current tt_query message handling code this is not done and therefore, in
case of skb linearization, the pointer used to handle the packet header ends up
in pointing to free'd memory.

This bug was introduced by a73105b8d4c765d9ebfb664d0a66802127d8e4c7
(batman-adv: improved client announcement mechanism)

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>batman-adv: unset the TT_CLIENT_PENDING flag if the new local entry already exists</title>
<updated>2012-05-14T07:05:08+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2012-01-15T23:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=521251f2f5fa16747cc21e71580e404af855d140'/>
<id>urn:sha1:521251f2f5fa16747cc21e71580e404af855d140</id>
<content type='text'>
When trying to add a new tt_local_entry, if such entry already exists, we have
to ensure that the TT_CLIENT_PENDING flag is not set, otherwise the entry will
be deleted soon.

Reported-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Start new development cycle</title>
<updated>2012-05-13T17:06:42+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2012-03-30T16:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e01572654a43329ae9ed0708931f577b5e0e6731'/>
<id>urn:sha1:e01572654a43329ae9ed0708931f577b5e0e6731</id>
<content type='text'>
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: use shorter pr_warn instead of pr_warning</title>
<updated>2012-05-13T17:06:41+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2012-03-26T14:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=679695813c0e29ecab666210752c9c0b4dd9f01c'/>
<id>urn:sha1:679695813c0e29ecab666210752c9c0b4dd9f01c</id>
<content type='text'>
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: refactor window_protected to avoid unnecessary return statement</title>
<updated>2012-05-13T17:06:40+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2012-03-17T07:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c7bf248a318444accbe0c2c5db15bd727661606'/>
<id>urn:sha1:8c7bf248a318444accbe0c2c5db15bd727661606</id>
<content type='text'>
Reported-by: David Laight &lt;David.Laight@aculab.com&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: prepare lq_update_lock to be shared among different protocols</title>
<updated>2012-05-13T17:06:39+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2012-03-17T07:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e3b0d0dea6e044283dff1c0852b20c98eb41a7f1'/>
<id>urn:sha1:e3b0d0dea6e044283dff1c0852b20c98eb41a7f1</id>
<content type='text'>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
</content>
</entry>
</feed>
