<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/team/team.c, branch linux-3.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-06-27T17:39:06Z</updated>
<entry>
<title>team: move add to port list before port enablement</title>
<updated>2013-06-27T17:39:06Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2013-06-08T13:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cadc4351e3bb9a55460139fb8cdb00266c45e24'/>
<id>urn:sha1:1cadc4351e3bb9a55460139fb8cdb00266c45e24</id>
<content type='text'>
[ Upstream commit 72df935d985c1575ed44ad2c8c653b28147993fa ]

team_port_enable() adds port to port_hashlist. Reader sees port
in team_get_port_by_index_rcu() and returns it, but
team_get_first_port_txable_rcu() tries to go through port_list, where the
port is not inserted yet -&gt; NULL pointer dereference.
Fix this by reordering port_list and port_hashlist insertion.
Panic is easily triggeable when txing packets and adding/removing port
in a loop.

Introduced by commit 3d249d4c "net: introduce ethernet teaming device"

Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>team: unsyc the devices addresses when port is removed</title>
<updated>2013-03-07T21:35:57Z</updated>
<author>
<name>Vlad Yasevich</name>
</author>
<published>2013-03-07T07:59:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba81276b1a5e3cf0674cb0e6d9525e5ae0c98695'/>
<id>urn:sha1:ba81276b1a5e3cf0674cb0e6d9525e5ae0c98695</id>
<content type='text'>
When a team port is removed, unsync all devices addresses that may have
been synched to the port devices.

CC: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: Vlad Yasevich &lt;vyasevic@redhat.com&gt;
Acked-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: allow userspace to take control over carrier</title>
<updated>2013-02-06T20:48:09Z</updated>
<author>
<name>Flavio Leitner</name>
</author>
<published>2013-02-05T09:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e185483e6b84c127d0b1c890b6b703701ae52d35'/>
<id>urn:sha1:e185483e6b84c127d0b1c890b6b703701ae52d35</id>
<content type='text'>
Some modes don't require any special carrier handling so
in these cases, the kernel can control the carrier as for
any other interface.  However, some other modes, e.g. lacp,
requires more than just that, so userspace needs to control
the carrier itself.

The daemon today is ready to control it, but the kernel
still can change it based on events.

This fix so that either kernel or userspace is controlling
the carrier.

Signed-off-by: Flavio Leitner &lt;fbl@redhat.com&gt;
Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: move netlink event notifiers after team_port_leave()</title>
<updated>2013-02-04T19:55:45Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2013-02-01T08:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3969d80a396bffd7f80ff57987b15793be67926'/>
<id>urn:sha1:c3969d80a396bffd7f80ff57987b15793be67926</id>
<content type='text'>
In team_port_del(), there is need to be do all the cleanup related
things first and netlink event notifiers should be called after that.
This fixes two problems:
team carrier is now correctly set (port is removed from list first)
mode can set option as changed in .port_leave op

Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: handle sending port list in the same way option list is sent</title>
<updated>2013-02-04T19:55:45Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2013-02-01T08:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d90f889e9cc76daf3a6d91120bb158b16c4af444'/>
<id>urn:sha1:d90f889e9cc76daf3a6d91120bb158b16c4af444</id>
<content type='text'>
Essentially do the same thing with port list as with option list.
Multipart netlink message.
Side effect is that port event message can send port which is not longer
in team-&gt;port_list.

Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: use strlcpy with ethtool_drvinfo fields</title>
<updated>2013-01-07T05:12:25Z</updated>
<author>
<name>Flavio Leitner</name>
</author>
<published>2013-01-05T02:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3066af582fd8084d9767ee8a71b8778360813106'/>
<id>urn:sha1:3066af582fd8084d9767ee8a71b8778360813106</id>
<content type='text'>
The fields must be null-terminated.

Signed-off-by: Flavio Leitner &lt;fbl@redhat.com&gt;
Acked-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Acked-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: remove usage of netdev_set_master()</title>
<updated>2013-01-04T21:31:49Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2013-01-03T22:48:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1cc9850cd92856196a45e75e97e9d6c2c0b6dc3'/>
<id>urn:sha1:b1cc9850cd92856196a45e75e97e9d6c2c0b6dc3</id>
<content type='text'>
Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove unnecessary NET_ADDR_RANDOM "bitclean"</title>
<updated>2013-01-04T06:37:36Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2013-01-01T03:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15c6ff3bc0ff3464a8c7efcdea09c86454571622'/>
<id>urn:sha1:15c6ff3bc0ff3464a8c7efcdea09c86454571622</id>
<content type='text'>
NET_ADDR_SET is set in dev_set_mac_address() no need to alter
dev-&gt;addr_assign_type value in drivers.

Signed-off-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: update master carrier state</title>
<updated>2013-01-03T10:15:14Z</updated>
<author>
<name>Flavio Leitner</name>
</author>
<published>2012-12-30T08:27:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06a7fc429f00a90c03d677d8c5ae09f0db6bf87d'/>
<id>urn:sha1:06a7fc429f00a90c03d677d8c5ae09f0db6bf87d</id>
<content type='text'>
Update master's carrier state when there is any
change with its ports.

Signed-off-by: Flavio Leitner &lt;fbl@redhat.com&gt;
Acked-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>team: add ethtool support</title>
<updated>2012-12-30T10:32:09Z</updated>
<author>
<name>Flavio Leitner</name>
</author>
<published>2012-12-29T16:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7f51c58731dfb0ef88ff283851a4710cc3335788'/>
<id>urn:sha1:7f51c58731dfb0ef88ff283851a4710cc3335788</id>
<content type='text'>
This patch adds few ethtool operations to team driver.

Signed-off-by: Flavio Leitner &lt;fbl@redhat.com&gt;
Acked-by: Jiri Pirko &lt;jiri@resnulli.us&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
