<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/net/batman-adv/vis.c, 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-04-18T07:54:01+00:00</updated>
<entry>
<title>batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)</title>
<updated>2012-04-18T07:54:01+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2012-02-18T10:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0d125074ebc8c971e939f8c2c8f90a80fa09aeb4'/>
<id>urn:sha1:0d125074ebc8c971e939f8c2c8f90a80fa09aeb4</id>
<content type='text'>
Instead of using sizeof(struct ethhdr) it is strongly recommended to use the
kernel macro ETH_HLEN. This patch substitute each occurrence of the former
expressione with the latter one.

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: convert time_after instances to has_timed_out</title>
<updated>2012-02-16T18:50:20+00:00</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2011-12-20T11:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=032b7969f8874d5ddc65691cd3d008beffd2a09e'/>
<id>urn:sha1:032b7969f8874d5ddc65691cd3d008beffd2a09e</id>
<content type='text'>
To increase readability the has_timed_out() functions has been introduced.
This patch converts existing time_after() calls to use this wrapper
function (if applicable).
This patch also converts all timeouts to miliseconds to be consistent.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Signed-off-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: Explicitly mark the common header structure</title>
<updated>2012-02-16T18:50:19+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2011-11-20T14:47: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=76543d14aec6ce5cb3fc7be9b39c50fcebd2043b'/>
<id>urn:sha1:76543d14aec6ce5cb3fc7be9b39c50fcebd2043b</id>
<content type='text'>
All batman-adv packets have a common 3 byte header. It can be used to share
some code between different code paths, but it was never explicit stated that
this header has to be always the same for all packets. Therefore, new code
changes always have the problem that they may accidently introduce regressions
by moving some elements around.

A new structure is introduced that contains the common header and makes it
easier visible that these 3 bytes have to be the same for all on-wire packets.

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: create a common substructure for tt_global/local_entry</title>
<updated>2011-11-20T12:08:35+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-10-30T11:17: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=48100bac89a6161ca53dd65697fe635f77986686'/>
<id>urn:sha1:48100bac89a6161ca53dd65697fe635f77986686</id>
<content type='text'>
Several functions in the translation table management code assume that the
tt_global_entry and tt_local_entry structures have the same initial fields such
as 'addr' and 'hash_entry'. To improve the code readability and to avoid
mistakes in later changes, a common substructure that substitute the shared
fields has been introduced (struct tt_common_entry).

Thanks to this modification, it has also been possible to slightly reduce the
code length by merging some functions like compare_ltt/gtt() and
tt_local/global_hash_find()

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: fixed hash functions type to uint32_t instead of int</title>
<updated>2011-11-20T12:08:33+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-10-05T15:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c90681b8505946761b55d4981c9c3b56b3c4171b'/>
<id>urn:sha1:c90681b8505946761b55d4981c9c3b56b3c4171b</id>
<content type='text'>
There are two reasons for this fix:
- the result of choose_orig() and vis_choose() is an index and therefore it can't
  be negative. Hence it is correct to make the return type unsigned too.

- sizeof(int) may not be the same on ALL the architectures. Since we plan to use
  choose_orig() as DHT hash function, we need to guarantee that, given the same
  argument, the result is the same. Then it is correct to explicitly express
  the size of the return type (and the second argument). Since the expected
  length is currently 4, uint32_t is the most convenient choice.

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Remove unnecessary OOM logging messages</title>
<updated>2011-09-08T15:52:30+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-08-29T21:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=320f422f629c7ed5d07b4186aa491d1e11d18a4c'/>
<id>urn:sha1:320f422f629c7ed5d07b4186aa491d1e11d18a4c</id>
<content type='text'>
Removing unnecessary messages saves code and text.

Site specific OOM messages are duplications of a generic MM
out of memory message and aren't really useful, so just
delete them.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: correct several typ0s in the comments</title>
<updated>2011-08-22T13:16:19+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-07-09T15:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=015758d00251a4dd9287806cdab4b9c1298f97ed'/>
<id>urn:sha1:015758d00251a4dd9287806cdab4b9c1298f97ed</id>
<content type='text'>
Several typos have been corrected and some sentences have been rephrased

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: hash_add() has to discriminate on the return value</title>
<updated>2011-08-22T13:16:19+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-07-09T22:36: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=1a1f37d9257a4792ca17b28b1c2e4ad15fe95b28'/>
<id>urn:sha1:1a1f37d9257a4792ca17b28b1c2e4ad15fe95b28</id>
<content type='text'>
hash_add() returns 0 on success while returns -1 either on error and on
entry already present. The caller could use such information to select
its behaviour. For this reason it is useful that hash_add() returns -1
in case on error and returns 1 in case of entry already present.

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: protect the local and the global trans-tables with rcu</title>
<updated>2011-06-20T09:37:30+00:00</updated>
<author>
<name>Antonio Quartulli</name>
<email>ordex@autistici.org</email>
</author>
<published>2011-04-27T12:28:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7683fdc1e88644ee8108a1f33faba80545f0024d'/>
<id>urn:sha1:7683fdc1e88644ee8108a1f33faba80545f0024d</id>
<content type='text'>
The local and the global translation-tables are now lock free and rcu
protected.

Signed-off-by: Antonio Quartulli &lt;ordex@autistici.org&gt;
Acked-by: Simon Wunderlich &lt;siwu@hrz.tu-chemnitz.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
</feed>
