<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/8021q/vlan_dev.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-12-14T17:51:06Z</updated>
<entry>
<title>VLAN: Fix nested VLAN transmit bug</title>
<updated>2007-12-14T17:51:06Z</updated>
<author>
<name>Joonwoo Park</name>
</author>
<published>2007-12-11T01:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8ddbf107012e54c432ba85192d18e873b8af1e5'/>
<id>urn:sha1:c8ddbf107012e54c432ba85192d18e873b8af1e5</id>
<content type='text'>
[VLAN]: Fix nested VLAN transmit bug

[ Upstream commit: 6ab3b487db77fa98a24560f11a5a8e744b98d877 ]

Fix misbehavior of vlan_dev_hard_start_xmit() for recursive encapsulations.

Signed-off-by: Joonwoo Park &lt;joonwpark81@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[VLAN/BRIDGE]: Fix "skb_pull_rcsum - Fatal exception in interrupt"</title>
<updated>2007-08-27T01:35:47Z</updated>
<author>
<name>Evgeniy Polyakov</name>
</author>
<published>2007-08-25T06:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7c243c925f6d9dcb898504ff24d6650b5cbb3b1'/>
<id>urn:sha1:e7c243c925f6d9dcb898504ff24d6650b5cbb3b1</id>
<content type='text'>
I tried to preserve bridging code as it was before, but logic is quite
strange - I think we should free skb on error, since it is already
unshared and thus will just leak.

Herbert Xu states:

&gt; +	if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL)
&gt; +		goto out;

If this happens it'll be a double-free on skb since we'll
return NF_DROP which makes the caller free it too.

We could return NF_STOLEN to prevent that but I'm not sure
whether that's correct netfilter semantics.  Patrick, could
you please make a call on this?

Patrick McHardy states:

NF_STOLEN should work fine here.

Signed-off-by: Evgeniy Polyakov &lt;johnpol@2ka.mipt.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: ethtool ops are the only way</title>
<updated>2007-07-31T21:00:02Z</updated>
<author>
<name>Matthew Wilcox</name>
</author>
<published>2007-07-31T21:00:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61a44b9c4b20d40c41fd1b70a4ceb13b75ea79a4'/>
<id>urn:sha1:61a44b9c4b20d40c41fd1b70a4ceb13b75ea79a4</id>
<content type='text'>
During the transition to the ethtool_ops way of doing things, we supported
calling the device's -&gt;do_ioctl method to allow unconverted drivers to
continue working.  Those days are long behind us, all in-tree drivers
use the ethtool_ops way, and so we no longer need to support this.

The bonding driver is the biggest beneficiary of this; it no longer
needs to call ioctl() as a fallback if ethtool_ops aren't supported.

Also put a proper copyright statement on ethtool.c.

Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[VLAN]: Use multicast list synchronization helpers</title>
<updated>2007-07-15T01:53:28Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-15T01:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56addd6eeeb4e11f5a0af7093ca078e0f29140e0'/>
<id>urn:sha1:56addd6eeeb4e11f5a0af7093ca078e0f29140e0</id>
<content type='text'>
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>[VLAN]: Fix promiscous/allmulti synchronization races</title>
<updated>2007-07-15T01:52:56Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-15T01:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde'/>
<id>urn:sha1:6c78dcbd47a68a7d25d2bee7a6c74b9136cb5fde</id>
<content type='text'>
The set_multicast_list function may be called without holding the rtnl
mutex, resulting in races when changing the underlying device's promiscous
and allmulti state. Use the change_rx_mode hook, which is always invoked
under the rtnl.

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>[VLAN]: Fix MAC address handling</title>
<updated>2007-07-12T02:45:24Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-12T02:45:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c979c26a0f093c13290320edda799d8335e50ae'/>
<id>urn:sha1:8c979c26a0f093c13290320edda799d8335e50ae</id>
<content type='text'>
The VLAN MAC address handling is broken in multiple ways. When the address
differs when setting it, the real device is put in promiscous mode twice,
but never taken out again. Additionally it doesn't resync when the real
device's address is changed and needlessly puts it in promiscous mode when
the vlan device is still down.

Fix by moving address handling to vlan_dev_open/vlan_dev_stop and properly
deal with address changes in the device notifier. Also switch to
dev_unicast_add (which needs the exact same handling).

Since the set_mac_address handler is identical to the generic ethernet one
with these changes, kill it and use ether_setup().

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>[VLAN]: Introduce symbolic constants for flag values</title>
<updated>2007-07-11T05:15:02Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-06-13T19:07:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a4bf3af4ac46802436d352ef409cee4fe80445b3'/>
<id>urn:sha1:a4bf3af4ac46802436d352ef409cee4fe80445b3</id>
<content type='text'>
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>[VLAN]: Keep track of number of QoS mappings</title>
<updated>2007-07-11T05:15:01Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-06-13T19:07:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b020cb488586f982f40eb257a32e92a4de710d65'/>
<id>urn:sha1:b020cb488586f982f40eb257a32e92a4de710d65</id>
<content type='text'>
Keep track of the number of configured ingress/egress QoS mappings to
avoid iteration while calculating the netlink attribute size.

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>[VLAN]: Convert name-based configuration functions to struct netdevice *</title>
<updated>2007-07-11T05:14:38Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-06-13T19:05:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c17d8874f9959070552fddf1b4e1d73c0c144c0f'/>
<id>urn:sha1:c17d8874f9959070552fddf1b4e1d73c0c144c0f</id>
<content type='text'>
Move the device lookup and checks to the ioctl handler under the RTNL and
change all name-based interfaces to take a struct net_device * instead.

This allows to use them from a netlink interface, which identifies devices
based on ifindex not name. It also avoids races between the ioctl interface
and the (upcoming) netlink interface since now all changes happen under the
RTNL.

As a nice side effect this greatly simplifies error handling in the helper
functions and fixes a number of incorrect error codes like -EINVAL for
device not found.

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]: cleanup extra semicolons</title>
<updated>2007-04-26T05:29:24Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-04-21T00:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ff50b7997fe06cd5d276b229967bb52d6b3b6c1'/>
<id>urn:sha1:3ff50b7997fe06cd5d276b229967bb52d6b3b6c1</id>
<content type='text'>
Spring cleaning time...

There seems to be a lot of places in the network code that have
extra bogus semicolons after conditionals.  Most commonly is a
bogus semicolon after: switch() { }

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