<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/net/batman-adv/vis.c, branch 3.0-pcl052-ts1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>batman-adv: rename everything from *hna* into *tt* (translation table)</title>
<updated>2011-05-08T14:10:42+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-05-05T06:42:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2dafb49d84a9195193b28ac5047df1bbab6053b9'/>
<id>2dafb49d84a9195193b28ac5047df1bbab6053b9</id>
<content type='text'>
To be coherent, all the functions/variables/constants have been renamed
to the TranslationTable style

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To be coherent, all the functions/variables/constants have been renamed
to the TranslationTable style

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: Make bat_priv-&gt;primary_if an rcu protected pointer</title>
<updated>2011-05-01T20:49:03+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-04-20T13:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=32ae9b221e788413ce68feaae2ca39e406211a0a'/>
<id>32ae9b221e788413ce68feaae2ca39e406211a0a</id>
<content type='text'>
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the bat_priv-&gt;primary_if need to be used, as well as spin/rcu locking.

Otherwise we might end up using a primary_if pointer pointing to already
freed memory.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the bat_priv-&gt;primary_if need to be used, as well as spin/rcu locking.

Otherwise we might end up using a primary_if pointer pointing to already
freed memory.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: Make orig_node-&gt;router an rcu protected pointer</title>
<updated>2011-04-17T19:11:01+00:00</updated>
<author>
<name>Linus Lüssing</name>
<email>linus.luessing@web.de</email>
</author>
<published>2011-03-14T22:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e1a5382f978b67b5cc36eec65e6046730ce07714'/>
<id>e1a5382f978b67b5cc36eec65e6046730ce07714</id>
<content type='text'>
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the orig_node-&gt;router need to be used, as well as spin/rcu locking.
Otherwise we might end up using a router pointer pointing to already
freed memory.

Therefore this commit introduces the safe getter method
orig_node_get_router().

Signed-off-by: Linus Lüssing &lt;linus.luessing@web.de&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the orig_node-&gt;router need to be used, as well as spin/rcu locking.
Otherwise we might end up using a router pointer pointing to already
freed memory.

Therefore this commit introduces the safe getter method
orig_node_get_router().

Signed-off-by: Linus Lüssing &lt;linus.luessing@web.de&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-merge</title>
<updated>2011-03-07T08:37:13+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-03-07T08:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b8cec4a415e807a2f8679efa89558a040a7003de'/>
<id>b8cec4a415e807a2f8679efa89558a040a7003de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: rename batman_if struct to hard_iface</title>
<updated>2011-03-05T11:52:06+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-02-18T12:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e6c10f433af9c98994c94a10ae862c152fcfb2a9'/>
<id>e6c10f433af9c98994c94a10ae862c152fcfb2a9</id>
<content type='text'>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: remove orig_hash spinlock</title>
<updated>2011-03-05T11:52:04+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-01-19T20:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d0072609baebaffb522083d367f4f195187f60f8'/>
<id>d0072609baebaffb522083d367f4f195187f60f8</id>
<content type='text'>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: Correct rcu refcounting for orig_node</title>
<updated>2011-03-05T11:52:01+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-02-18T12:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7b36e8eef989fc59535b4f1d3fc0f83afaf419d4'/>
<id>7b36e8eef989fc59535b4f1d3fc0f83afaf419d4</id>
<content type='text'>
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.

Reported-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.

Reported-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: remove extra layer between hash and hash element - hash bucket</title>
<updated>2011-03-05T11:52:00+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-02-18T12:28:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7aadf889e897155c45cda230d2a6701ad1fbff61'/>
<id>7aadf889e897155c45cda230d2a6701ad1fbff61</id>
<content type='text'>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: separate ethernet comparing calls from hash functions</title>
<updated>2011-03-05T11:50:14+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-02-18T12:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=39901e716275da4e831b40f9e45a1b61d6a776dc'/>
<id>39901e716275da4e831b40f9e45a1b61d6a776dc</id>
<content type='text'>
Note: The function compare_ether_addr() provided by the Linux kernel
requires aligned memory.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: The function compare_ether_addr() provided by the Linux kernel
requires aligned memory.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>batman-adv: Correct rcu refcounting for neigh_node</title>
<updated>2011-03-05T11:50:03+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-02-10T14:33:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=44524fcdf6ca19b58c24f7622c4af1d8d8fe59f8'/>
<id>44524fcdf6ca19b58c24f7622c4af1d8d8fe59f8</id>
<content type='text'>
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.

Reported-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.

Reported-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
