<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/net/batman-adv/bitarray.h, 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: Replace bitarray operations with bitmap</title>
<updated>2012-04-11T12:28:58+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2012-02-04T16:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0079d2cef1514422668c7beedd61bfde5aa2c146'/>
<id>urn:sha1:0079d2cef1514422668c7beedd61bfde5aa2c146</id>
<content type='text'>
bitarray.c consists mostly of functionality that is already available as part
of the standard kernel API. batman-adv could use architecture optimized code
and reduce the binary size by switching to the standard functions.

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: Update copyright years</title>
<updated>2012-02-16T18:50:21+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2011-12-31T23:41:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=567db7b0b7c0a94cc62846f8ebb429bdda2884bc'/>
<id>urn:sha1:567db7b0b7c0a94cc62846f8ebb429bdda2884bc</id>
<content type='text'>
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: Reduce usage of char</title>
<updated>2011-06-20T09:37:18+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2011-06-15T07:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b4e1705417c6cc7d46d9020259a2c8f457cf82bd'/>
<id>urn:sha1:b4e1705417c6cc7d46d9020259a2c8f457cf82bd</id>
<content type='text'>
char was used in different places to store information without really
using the characteristics of that data type or by ignoring the fact that
char has not a well defined signedness.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: count_real_packets() in batman-adv assumes char is signed</title>
<updated>2011-06-20T09:23:36+00:00</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2011-06-15T07:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2c44a53836559b5e2823aa215c979c33bc9e2db'/>
<id>urn:sha1:b2c44a53836559b5e2823aa215c979c33bc9e2db</id>
<content type='text'>
count_real_packets() in batman-adv assumes char is signed, and returns -1
through it:

net/batman-adv/routing.c: In function 'receive_bat_packet':
net/batman-adv/routing.c:739: warning: comparison is always false due to limited range of data type

Use int instead.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
[sven@narfation.org: Rebase on top of current version]
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Add const type qualifier for pointers</title>
<updated>2011-05-30T05:39:31+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2011-05-14T21:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=747e4221a03cde62402b614ca1f8e961b8416130'/>
<id>urn:sha1:747e4221a03cde62402b614ca1f8e961b8416130</id>
<content type='text'>
batman-adv uses pointers which are marked as const and should not
violate that type qualifier by passing it to functions which force a
cast to the non-const version.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Update copyright years</title>
<updated>2011-01-31T13:57:12+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2011-01-27T09:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=64afe35398269577ef9809474dd7dc0e5d265176'/>
<id>urn:sha1:64afe35398269577ef9809474dd7dc0e5d265176</id>
<content type='text'>
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>net: Add batman-adv meshing protocol</title>
<updated>2010-12-16T21:44:24+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2010-12-13T11:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c6c8fea29769d998d94fcec9b9f14d4b52b349d3'/>
<id>urn:sha1:c6c8fea29769d998d94fcec9b9f14d4b52b349d3</id>
<content type='text'>
B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is a routing
protocol for multi-hop ad-hoc mesh networks. The networks may be wired or
wireless. See http://www.open-mesh.org/ for more information and user space
tools.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
