<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/bridge/br.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-06-02T14:11:15Z</updated>
<entry>
<title>net: replace hooks in __netif_receive_skb V5</title>
<updated>2010-06-02T14:11:15Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2010-06-01T21:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab95bfe01f9872459c8678572ccadbf646badad0'/>
<id>urn:sha1:ab95bfe01f9872459c8678572ccadbf646badad0</id>
<content type='text'>
What this patch does is it removes two receive frame hooks (for bridge and for
macvlan) from __netif_receive_skb. These are replaced them with a single
hook for both. It only supports one hook per device because it makes no
sense to do bridging and macvlan on the same device.

Then a network driver (of virtual netdev like macvlan or bridge) can register
an rx_handler for needed net device.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: change console message interface</title>
<updated>2010-05-16T06:10:02Z</updated>
<author>
<name>stephen hemminger</name>
</author>
<published>2010-05-10T09:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28a16c97963d3bc36a2c192859f6d8025ef2967a'/>
<id>urn:sha1:28a16c97963d3bc36a2c192859f6d8025ef2967a</id>
<content type='text'>
Use one set of macro's for all bridge messages.

Note: can't use netdev_XXX macro's because bridge is purely
virtual and has no device parent.

Signed-off-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: Use rcu_barrier() instead of syncronize_net() on unload.</title>
<updated>2009-06-26T20:51:32Z</updated>
<author>
<name>Jesper Dangaard Brouer</name>
</author>
<published>2009-06-26T10:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=473c22d759e73cbbe604f41105b497817cc2ee8e'/>
<id>urn:sha1:473c22d759e73cbbe604f41105b497817cc2ee8e</id>
<content type='text'>
When unloading modules that uses call_rcu() callbacks, then we must
use rcu_barrier().  This module uses syncronize_net() which is not
enough to be sure that all callback has been completed.

Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Signed-off-by: Jesper Dangaard Brouer &lt;hawk@comx.dk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: Simplify interface for ATM LANE</title>
<updated>2009-06-12T04:03:21Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2009-06-05T05:35:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da6782927de809d9d427bd4bd6a4024243e41f13'/>
<id>urn:sha1:da6782927de809d9d427bd4bd6a4024243e41f13</id>
<content type='text'>
This patch changes FDB entry check for ATM LANE bridge integration.
There's no point in holding a FDB entry around SKB building.

br_fdb_get()/br_fdb_put() pair are changed into single br_fdb_test_addr()
hook that checks if the addr has FDB entry pointing to other port
to the one the request arrived on.

FDB entry refcounting is removed as it's not used anywhere else.

Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Acked-by: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns bridge: cleanup bridges during netns stop</title>
<updated>2008-09-08T23:20:18Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2008-09-08T23:20:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=712d6954e3998d0de2840d8130941e8042541246'/>
<id>urn:sha1:712d6954e3998d0de2840d8130941e8042541246</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Acked-by: Stephen Hemminger &lt;shemming@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: Use STP demux</title>
<updated>2008-07-06T04:25:56Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2008-07-06T04:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c85fbf0657f216557b0c9c4a2e4e07f37d8bb8c'/>
<id>urn:sha1:7c85fbf0657f216557b0c9c4a2e4e07f37d8bb8c</id>
<content type='text'>
Use the STP demux layer for receiving STP PDUs instead of directly
registering with LLC.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove CVS keywords</title>
<updated>2008-06-12T04:00:38Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-06-11T05:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b040829952d84bf2a62526f0e24b624e0699447'/>
<id>urn:sha1:0b040829952d84bf2a62526f0e24b624e0699447</id>
<content type='text'>
This patch removes CVS keywords that weren't updated for a long time
from comments.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: kernel panic when unloading bridge module</title>
<updated>2008-04-29T10:18:13Z</updated>
<author>
<name>Bodo Stroesser</name>
</author>
<published>2008-04-29T10:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d69efb16891ddfa6c0b527f912a7193054d50281'/>
<id>urn:sha1:d69efb16891ddfa6c0b527f912a7193054d50281</id>
<content type='text'>
There is a race condition when unloading bridge and netfilter.

The problem happens if __fake_rtable is in use by a skb
coming in, while someone starts to unload bridge.ko.
br_netfilter_fini() is called at the beginning of unload
in br_deinit() while skbs still are being forwarded and
transferred to local ip stack. Thus there is a possibility
of the __fake_rtable pointer not being removed in a skb that
goes up to ip stack. This results in a kernel panic, as
ip_rcv() calls the input-function of __fake_rtable, which
is NULL.

Moving the call of br_netfilter_fini() to the end of
br_deinit() solves the problem.

Signed-off-by: Bodo Stroesser &lt;bstroesser@fujitsu-siemens.com&gt;
Signed-off-by: Stephen Hemminger &lt;stephen.hemminger@vyatta.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[BRIDGE]: Lost call to br_fdb_fini() in br_init() error path</title>
<updated>2007-11-29T12:41:43Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2007-11-29T12:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17efdd45755c0eb8d1418a1368ef7c7ebbe98c6e'/>
<id>urn:sha1:17efdd45755c0eb8d1418a1368ef7c7ebbe98c6e</id>
<content type='text'>
In case the br_netfilter_init() (or any subsequent call) 
fails, the br_fdb_fini() must be called to free the allocated
in br_fdb_init() br_fdb_cache kmem cache.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[NETFILTER]: Replace sk_buff ** with sk_buff *</title>
<updated>2007-10-15T19:26:29Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-10-15T07:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3db05fea51cdb162cfa8f69e9cfb9e228919d2a9'/>
<id>urn:sha1:3db05fea51cdb162cfa8f69e9cfb9e228919d2a9</id>
<content type='text'>
With all the users of the double pointers removed, this patch mops up by
finally replacing all occurances of sk_buff ** in the netfilter API by
sk_buff *.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
