<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/batman-adv, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/batman-adv?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/batman-adv?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2010-12-16T23:20:05Z</updated>
<entry>
<title>Staging: batman-adv: Remove batman-adv from staging</title>
<updated>2010-12-16T23:20:05Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2010-12-16T22:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=63d5e5a727240b317b0c2fa2abeb32b367aea196'/>
<id>urn:sha1:63d5e5a727240b317b0c2fa2abeb32b367aea196</id>
<content type='text'>
batman-adv is now moved to net/batman-adv/ and can be removed from
staging.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: Merge 2.6.37-rc5 into staging-next</title>
<updated>2010-12-07T18:47:56Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-12-07T18:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ea3398a1ae54cd3403f3cc0f6aa498c7452c681a'/>
<id>urn:sha1:ea3398a1ae54cd3403f3cc0f6aa498c7452c681a</id>
<content type='text'>
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly.  It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: Use kernel functions to identify broadcasts</title>
<updated>2010-11-29T19:09:14Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@gmx.de</email>
</author>
<published>2010-11-21T23:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=951c44e0dbfaa580d5b4fb13427ab93ee252636a'/>
<id>urn:sha1:951c44e0dbfaa580d5b4fb13427ab93ee252636a</id>
<content type='text'>
linux/etherdevice.h already provides functions to classify different
ethernet addresses. These inlineable functions should be used instead of
custom functions.

The check for multicast together with multicast can also be replaced
with a single test for multicast because for every ethernet address x
following is always true:

is_broadcast_ether_addr(x) =&gt; is_multicast_ether_addr(x)

or when looking more at the implementation:

(FF:FF:FF:FF:FF:FF == x) =&gt; [(01:00:00:00:00:00 &amp; x) != 00:00:00:00:00:00]

Reported-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: Use kernel version min macro</title>
<updated>2010-11-29T19:09:14Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@gmx.de</email>
</author>
<published>2010-11-21T23:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8cab2fbe6dacfdd3b122c450d2fffde6ac06a8b6'/>
<id>urn:sha1:8cab2fbe6dacfdd3b122c450d2fffde6ac06a8b6</id>
<content type='text'>
The kernel headers already provide different versions of a min/max macro
which should be used by all modules according to
Documentation/CodingStyle.

Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: add gateway IPv6 support by filtering DHCPv6 messages</title>
<updated>2010-11-29T19:09:14Z</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2010-11-21T23:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=003db3b2ad61c2964d624b0786cf8202e9a92c8e'/>
<id>urn:sha1:003db3b2ad61c2964d624b0786cf8202e9a92c8e</id>
<content type='text'>
Some additional checks will be needed in case of extension headers
like the fragmentation or hop-by-hop (for jumbo frames for example)
headers or ipsec stuff. But this patch should do for most people
for now, the rest can be added with a later one.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
Acked-by: Linus Lüssing &lt;linus.luessing@web.de&gt;
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: best gw DHCP filter 802.1Q support</title>
<updated>2010-11-29T19:09:14Z</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2010-11-21T23:56:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c9c556b63b19c8b52de5c5ea6f47ab16fc540e47'/>
<id>urn:sha1:c9c556b63b19c8b52de5c5ea6f47ab16fc540e47</id>
<content type='text'>
The DHCP filter inspects packets to determine whether or not to send
them via ethernet unicast. This patch adds 802.1Q (vlan) support for
this check.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: send DHCP requests directly to the chosen gw</title>
<updated>2010-11-29T19:09:13Z</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2010-11-21T23:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6c3a42db6ca46204b35f0cdb8abfa9e4771641ef'/>
<id>urn:sha1:6c3a42db6ca46204b35f0cdb8abfa9e4771641ef</id>
<content type='text'>
If the gateway client mode is active batman-adv will send the
broadcasted DHCP requests via unicast to the currently selected best
gateway. Therefore attached clients can profit from batman's knowledge
about the network topology.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: adding gateway functionality</title>
<updated>2010-11-29T19:09:13Z</updated>
<author>
<name>Marek Lindner</name>
<email>lindner_marek@yahoo.de</email>
</author>
<published>2010-11-21T23:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=dfaf9dd3459cac02411cebf418e8469aa0d8ca5d'/>
<id>urn:sha1:dfaf9dd3459cac02411cebf418e8469aa0d8ca5d</id>
<content type='text'>
Via the /sys filesystem you can change the gateway mode of a node using
gw_mode. Adjustments to it can be done using gw_bandwidth for server
mode and gw_sel_class for client mode.

Signed-off-by: Marek Lindner &lt;lindner_marek@yahoo.de&gt;
[sven.eckelmann@gmx.de: Rework on top of current version]
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: Limit spin_locks to spin_lock_bh</title>
<updated>2010-11-29T19:09:13Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@gmx.de</email>
</author>
<published>2010-11-21T23:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7a18deb7b03e4112af5add8498889f9b2b36d59f'/>
<id>urn:sha1:7a18deb7b03e4112af5add8498889f9b2b36d59f</id>
<content type='text'>
spin_lock_irqsave disables the IRQs and stores them inside the flags
provided by the caller. This is needed to protect a bottom half handler
or a user context critical section from being interrupted by an
interrupt handler which also tries to acquire the spinlock and locks
forever.

The linux device drivers will receive the packets inside an interrupt
handler and the network infrastructure will process them inside bottom
half. Thus batman-adv will only run in user context and bottom half
handlers. We can conclude that batman-adv doesn't share its own
spinlocks with real interrupt handlers.

This makes it possible to exchange the quite complex spin_lock_irqsave
with spin_lock_bh which only stops bottom halves from running on the
current cpu, but allows interrupt handlers to take over to keep the
interrupt latency low.

Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: batman-adv: Rewrite hash using hlist_*</title>
<updated>2010-11-29T19:09:13Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@gmx.de</email>
</author>
<published>2010-11-21T23:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bd204952cf161404eae0aa6478fb1b4c586ac678'/>
<id>urn:sha1:bd204952cf161404eae0aa6478fb1b4c586ac678</id>
<content type='text'>
The hash implementation is a complete implementation of a hash using
buckets as hash entries and overflow buckets attached to them.

The kernel already provides datastructures hlist_head and hlist_node
which can be used to implement an hash using lists as hash buckets. So
it is better to implement heavily used functionality on top of those
instead of providing a full hash implementation.

The rewrite changes the behavior of some functions slightly:
 * hash_add add elements to the front instead of the tail
 * hash_iterate doesn't provide pointer to access bucket-&gt;data directly,
   but it can be accessed using hlist_entry

Reported-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
