<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/bridge/br_device.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-09-16T23:20:48Z</updated>
<entry>
<title>[BRIDGE]: Kill clone argument to br_flood_*</title>
<updated>2007-09-16T23:20:48Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-09-16T23:20:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e081e1e3ef4682802ac63b1e5e26158fb9ca9e90'/>
<id>urn:sha1:e081e1e3ef4682802ac63b1e5e26158fb9ca9e90</id>
<content type='text'>
The clone argument is only used by one caller and that caller can clone
the packet itself.  This patch moves the clone call into the caller and
kills the clone argument.

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>
<entry>
<title>[NET]: Share correct feature code between bridging and bonding</title>
<updated>2007-08-14T05:52:14Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-08-10T22:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f353bf29e162459f2f1e2ca25e41011fae65241'/>
<id>urn:sha1:7f353bf29e162459f2f1e2ca25e41011fae65241</id>
<content type='text'>
http://bugzilla.kernel.org/show_bug.cgi?id=8797 shows that the
bonding driver may produce bogus combinations of the checksum
flags and SG/TSO.

For example, if you bond devices with NETIF_F_HW_CSUM and
NETIF_F_IP_CSUM you'll end up with a bonding device that
has neither flag set.  If both have TSO then this produces
an illegal combination.

The bridge device on the other hand has the correct code to
deal with this.

In fact, the same code can be used for both.  So this patch
moves that logic into net/core/dev.c and uses it for both
bonding and bridging.

In the process I've made small adjustments such as only
setting GSO_ROBUST if at least one constituent device
supports it.

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>
<entry>
<title>[BRIDGE]: Fix warning in net-2.6.22</title>
<updated>2007-04-26T05:29:16Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-04-20T23:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e6cf558b0098a15d8c360c4eaad3e4d719a555a'/>
<id>urn:sha1:3e6cf558b0098a15d8c360c4eaad3e4d719a555a</id>
<content type='text'>
The following is leftover from earlier change in net-2.6.22.

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bridge: allow changing hardware address to any valid address</title>
<updated>2007-04-26T05:28:50Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-04-09T18:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffe1d49cc300f3dff990093aa952a2fbb371c1b6'/>
<id>urn:sha1:ffe1d49cc300f3dff990093aa952a2fbb371c1b6</id>
<content type='text'>
For case of bridging pseudo devices, the get created/destroyed (Xen)
need to allow setting address to any valid value.

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[SK_BUFF]: Introduce skb_reset_mac_header(skb)</title>
<updated>2007-04-26T05:24:32Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
</author>
<published>2007-03-19T22:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=459a98ed881802dee55897441bc7f77af614368e'/>
<id>urn:sha1:459a98ed881802dee55897441bc7f77af614368e</id>
<content type='text'>
For the common, open coded 'skb-&gt;mac.raw = skb-&gt;data' operation, so that we can
later turn skb-&gt;mac.raw into a offset, reducing the size of struct sk_buff in
64bit land while possibly keeping it as a pointer on 32bit.

This one touches just the most simple case, next will handle the slightly more
"complex" cases.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] BRIDGE: Fix whitespace errors.</title>
<updated>2007-02-11T07:19:23Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2007-02-09T14:24:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d6f229fc45b6ac268020c0c8eff29e94bb34381'/>
<id>urn:sha1:9d6f229fc45b6ac268020c0c8eff29e94bb34381</id>
<content type='text'>
Signed-off-by: YOSHIFUJI Hideaki &lt;yoshfuji@linux-ipv6.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Added GSO header verification</title>
<updated>2006-06-29T23:57:53Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2006-06-27T20:22:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=576a30eb6453439b3c37ba24455ac7090c247b5a'/>
<id>urn:sha1:576a30eb6453439b3c37ba24455ac7090c247b5a</id>
<content type='text'>
When GSO packets come from an untrusted source (e.g., a Xen guest domain),
we need to verify the header integrity before passing it to the hardware.

Since the first step in GSO is to verify the header, we can reuse that
code by adding a new bit to gso_type: SKB_GSO_DODGY.  Packets with this
bit set can only be fed directly to devices with the corresponding bit
NETIF_F_GSO_ROBUST.  If the device doesn't have that bit, then the skb
is fed to the GSO engine which will allow the packet to be sent to the
hardware if it passes the header check.

This patch changes the sg flag to a full features flag.  The same method
can be used to implement TSO ECN support.  We simply have to mark packets
with CWR set with SKB_GSO_ECN so that only hardware with a corresponding
NETIF_F_TSO_ECN can accept them.  The GSO engine can either fully segment
the packet, or segment the first MTU and pass the rest to the hardware for
further segmentation.

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>
<entry>
<title>[BRIDGE]: Add support for NETIF_F_HW_CSUM devices</title>
<updated>2006-06-18T05:06:45Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2006-06-18T05:06:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c6cc0d8539f121c3c75aa3641c19b67e8723379'/>
<id>urn:sha1:2c6cc0d8539f121c3c75aa3641c19b67e8723379</id>
<content type='text'>
As it is the bridge will only ever declare NETIF_F_IP_CSUM even if all
its constituent devices support NETIF_F_HW_CSUM.  This patch fixes
this by supporting the first one out of NETIF_F_NO_CSUM,
NETIF_F_HW_CSUM, and NETIF_F_IP_CSUM that is supported by all
constituent devices.

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>
<entry>
<title>[BRIDGE]: forwarding remove unneeded preempt and bh diasables</title>
<updated>2006-03-21T06:58:36Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2006-03-21T06:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8ae737deea1be001d7d8ac11c382a7b73a1c98f'/>
<id>urn:sha1:f8ae737deea1be001d7d8ac11c382a7b73a1c98f</id>
<content type='text'>
Optimize the forwarding and transmit paths. Both places are
called with bottom half/no preempt so there is no need to use
spin_lock_bh or rcu_read_lock.

Signed-off-by: Stephen Hemminger &lt;shemminger@osdl.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[BRIDGE]: limited ethtool support</title>
<updated>2006-01-03T21:11:03Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2005-12-22T03:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edb5e46fc03d0a45f2b41e3717631f7af7e9fc19'/>
<id>urn:sha1:edb5e46fc03d0a45f2b41e3717631f7af7e9fc19</id>
<content type='text'>
Add limited ethtool support to bridge to allow disabling
features.

Note: if underlying device does not support a feature (like checksum
offload), then the bridge device won't inherit it.

Signed-off-by: Stephen Hemminger &lt;shemminger@osdl.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
