<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/dummy.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-07-22T19:12:32Z</updated>
<entry>
<title>net: fix race condition in several drivers when reading stats</title>
<updated>2012-07-22T19:12:32Z</updated>
<author>
<name>Kevin Groeneveld</name>
</author>
<published>2012-07-21T06:30:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3906486f616da7cc086a3ba06c0df4e5a48b4ab'/>
<id>urn:sha1:e3906486f616da7cc086a3ba06c0df4e5a48b4ab</id>
<content type='text'>
Fix race condition in several network drivers when reading stats on 32bit
UP architectures.  These drivers update their stats in a BH context and
therefore should use u64_stats_fetch_begin_bh/u64_stats_fetch_retry_bh
instead of u64_stats_fetch_begin/u64_stats_fetch_retry when reading the
stats.

Signed-off-by: Kevin Groeneveld &lt;kgroeneveld@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dummy: use IFF_LIVE_ADDR_CHANGE priv_flag</title>
<updated>2012-06-30T08:08:00Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2012-06-29T05:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d1632b46ad76cde92085aa1ed422e9329443082'/>
<id>urn:sha1:0d1632b46ad76cde92085aa1ed422e9329443082</id>
<content type='text'>
Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dummy: fix rcu_sched self-detected stalls</title>
<updated>2012-06-11T08:12:04Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2012-06-10T21:11:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16b0dc29c1af9df341428f4c49ada4f626258082'/>
<id>urn:sha1:16b0dc29c1af9df341428f4c49ada4f626258082</id>
<content type='text'>
Trying to "modprobe dummy numdummies=30000" triggers :

INFO: rcu_sched self-detected stall on CPU { 8} (t=60000 jiffies)

After this splat, RTNL is locked and reboot is needed.

We must call cond_resched() to avoid this, even holding RTNL.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dummy: Add ndo_uninit().</title>
<updated>2012-04-17T03:56:36Z</updated>
<author>
<name>Hiroaki SHIMODA</name>
</author>
<published>2012-04-15T13:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=890fdf2a0cb88202d1427589db2cf29c1bdd3c1d'/>
<id>urn:sha1:890fdf2a0cb88202d1427589db2cf29c1bdd3c1d</id>
<content type='text'>
In register_netdevice(), when ndo_init() is successful and later
some error occurred, ndo_uninit() will be called.
So dummy deivce is desirable to implement ndo_uninit() method
to free percpu stats for this case.
And, ndo_uninit() is also called along with dev-&gt;destructor() when
device is unregistered, so in order to prevent dev-&gt;dstats from
being freed twice, dev-&gt;destructor is modified to free_netdev().

Signed-off-by: Hiroaki SHIMODA &lt;shimoda.hiroaki@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: use eth_hw_addr_random() and reset addr_assign_type</title>
<updated>2012-02-15T20:34:17Z</updated>
<author>
<name>Danny Kukawka</name>
</author>
<published>2012-02-15T06:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ce5d222190cb3ce3ae88bafde7c4fa52a5103e0'/>
<id>urn:sha1:7ce5d222190cb3ce3ae88bafde7c4fa52a5103e0</id>
<content type='text'>
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Reset the state to NET_ADDR_PERM as soon as the MAC get
changed via .ndo_set_mac_address.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka &lt;danny.kukawka@bisect.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove NETIF_F_NO_CSUM feature bit</title>
<updated>2011-11-16T22:43:12Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2011-11-15T15:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34324dc2bf27c1773045fea63cb11f7e2a6ad2b9'/>
<id>urn:sha1:34324dc2bf27c1773045fea63cb11f7e2a6ad2b9</id>
<content type='text'>
Only distinct use is checking if NETIF_F_NOCACHE_COPY should be
enabled by default. The check heuristics is altered a bit here,
so it hits other people than before. The default shouldn't be
trusted for performance-critical cases anyway.

For all other uses NETIF_F_NO_CSUM is equivalent to NETIF_F_HW_CSUM.

Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: remove use of ndo_set_multicast_list in drivers</title>
<updated>2011-08-18T03:22:03Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2011-08-16T06:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afc4b13df143122f99a0eb10bfefb216c2806de0'/>
<id>urn:sha1:afc4b13df143122f99a0eb10bfefb216c2806de0</id>
<content type='text'>
replace it by ndo_set_rx_mode

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: call dev_alloc_name from register_netdevice</title>
<updated>2011-05-05T17:57:45Z</updated>
<author>
<name>Jiri Pirko</name>
</author>
<published>2011-04-30T01:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c5cae815d19ffe02bdfda1260949ef2b1806171'/>
<id>urn:sha1:1c5cae815d19ffe02bdfda1260949ef2b1806171</id>
<content type='text'>
Force dev_alloc_name() to be called from register_netdevice() by
dev_get_valid_name(). That allows to remove multiple explicit
dev_alloc_name() calls.

The possibility to call dev_alloc_name in advance remains.

This also fixes veth creation regresion caused by
84c49d8c3e4abefb0a41a77b25aa37ebe8d6b743

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dummy: percpu stats and lockless xmit</title>
<updated>2010-09-29T20:23:30Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2010-09-27T20:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d81f41c58c69ddde497e9e640ba5805aa26e78c'/>
<id>urn:sha1:6d81f41c58c69ddde497e9e640ba5805aa26e78c</id>
<content type='text'>
Converts dummy network device driver to :

- percpu stats

- 64bit stats

- lockless xmit (NETIF_F_LLTX)

- performance features added (NETIF_F_SG | NETIF_F_FRAGLIST |
NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA)

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netdev: convert pseudo drivers to netdev_tx_t</title>
<updated>2009-09-01T08:13:40Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2009-08-31T19:50:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=424efe9caf6047ffbcd6b383ff4d2347254aabf1'/>
<id>urn:sha1:424efe9caf6047ffbcd6b383ff4d2347254aabf1</id>
<content type='text'>
These are all drivers that don't touch real hardware.

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