<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/core/net-sysfs.c, branch linux-2.6.24.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.24.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-10-24T04:27:56Z</updated>
<entry>
<title>[NET]: Remove in-code externs for some functions from net/core/dev.c</title>
<updated>2007-10-24T04:27:56Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2007-10-24T04:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=342709efc7a4ba91eac6d2d2d931ec316a587dfa'/>
<id>urn:sha1:342709efc7a4ba91eac6d2d2d931ec316a587dfa</id>
<content type='text'>
Inconsistent prototype and real type for functions may have worse
consequences, than those for variables, so move them into a header.

Since they are used privately in net/core, make this file reside in
the same place.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Driver core: change add_uevent_var to use a struct</title>
<updated>2007-10-12T21:51:01Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2007-08-14T13:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7eff2e7a8b65c25920207324e56611150eb1cd9a'/>
<id>urn:sha1:7eff2e7a8b65c25920207324e56611150eb1cd9a</id>
<content type='text'>
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.

Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;
Cc: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>[NET]: Fix running without sysfs</title>
<updated>2007-10-10T23:52:46Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2007-09-27T05:02:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b41d1887db718be9a2cd9e18c58ce25a4c7fd93'/>
<id>urn:sha1:8b41d1887db718be9a2cd9e18c58ce25a4c7fd93</id>
<content type='text'>
When sysfs support is compiled out the kernel still keeps and maintains
the kobject tree.  So it is not safe to skip our kobject reference counting or
to avoid becoming members of the kobject tree.  It is safe to not add
the networking specific sysfs attributes.

This patch removes the sysfs special cases from net/core/dev.c
renames functions from netdev_sysfs_xxxx to netdev_kobject_xxxx
and always compiles in net-sysfs.c

net-sysfs.c is modified with a CONFIG_SYSFS guard around the parts
that are actually sysfs specific.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Make NAPI polling independent of struct net_device objects.</title>
<updated>2007-10-10T23:47:45Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-10-03T23:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bea3348eef27e6044b6161fd04c3152215f96411'/>
<id>urn:sha1:bea3348eef27e6044b6161fd04c3152215f96411</id>
<content type='text'>
Several devices have multiple independant RX queues per net
device, and some have a single interrupt doorbell for several
queues.

In either case, it's easier to support layouts like that if the
structure representing the poll is independant from the net
device itself.

The signature of the -&gt;poll() call back goes from:

	int foo_poll(struct net_device *dev, int *budget)

to

	int foo_poll(struct napi_struct *napi, int budget)

The caller is returned the number of RX packets processed (or
the number of "NAPI credits" consumed if you want to get
abstract).  The callee no longer messes around bumping
dev-&gt;quota, *budget, etc. because that is all handled in the
caller upon return.

The napi_struct is to be embedded in the device driver private data
structures.

Furthermore, it is the driver's responsibility to disable all NAPI
instances in it's -&gt;stop() device close handler.  Since the
napi_struct is privatized into the driver's private data structures,
only the driver knows how to get at all of the napi_struct instances
it may have per-device.

With lots of help and suggestions from Rusty Russell, Roland Dreier,
Michael Chan, Jeff Garzik, and Jamal Hadi Salim.

Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra,
Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan.

[ Ported to current tree and all drivers converted.  Integrated
  Stephen's follow-on kerneldoc additions, and restored poll_list
  handling to the old style to fix mutual exclusion issues.  -DaveM ]

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>[NET]: Fix race condition about network device name allocation.</title>
<updated>2007-05-19T22:39:25Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-05-19T22:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9093bbb2d96d0184f037cea9b4e952a44ebe7c32'/>
<id>urn:sha1:9093bbb2d96d0184f037cea9b4e952a44ebe7c32</id>
<content type='text'>
Kenji Kaneshige found this race between device removal and
registration.  On unregister it is possible for the old device to
exist, because sysfs file is still open.  A new device with 'eth%d'
will select the same name, but sysfs kobject register will fial.

The following changes the shutdown order slightly. It hold a removes
the sysfs entries earlier (on unregister_netdevice), but holds a
kobject reference.  Then when todo runs the actual last put free
happens.

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>uevent: use add_uevent_var() instead of open coding it</title>
<updated>2007-04-27T17:57:29Z</updated>
<author>
<name>Eric Rannaud</name>
</author>
<published>2007-03-31T05:23:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf62456eb91f3d2ef0736081583d09b0b3c8b7ea'/>
<id>urn:sha1:bf62456eb91f3d2ef0736081583d09b0b3c8b7ea</id>
<content type='text'>
Make use of add_uevent_var() instead of (often incorrectly) open coding it.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Eric Rannaud &lt;eric.rannaud@gmail.com&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: notify userspace of network device renames</title>
<updated>2007-04-27T17:57:29Z</updated>
<author>
<name>Jean Tourrilhes</name>
</author>
<published>2007-03-07T18:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca2f37dbc5324c7278577731033a358f1f86050a'/>
<id>urn:sha1:ca2f37dbc5324c7278577731033a358f1f86050a</id>
<content type='text'>
Provide rename event for when we rename network devices.

Signed-off-by: Jean Tourrilhes &lt;jt@hpl.hp.com&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

 
</content>
</entry>
<entry>
<title>[NET] core: whitespace cleanup</title>
<updated>2007-04-26T05:24:09Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-04-11T03:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e71a4783aae059931f63b2d4e7013e36529badef'/>
<id>urn:sha1:e71a4783aae059931f63b2d4e7013e36529badef</id>
<content type='text'>
Fix whitespace around keywords. Fix indentation especially of switch
statements.

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>Merge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream</title>
<updated>2007-02-17T20:09:59Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-02-17T20:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48c871c1f6a7c7044dd76774fb469e65c7e2e4e8'/>
<id>urn:sha1:48c871c1f6a7c7044dd76774fb469e65c7e2e4e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[NET] CORE: Fix whitespace errors.</title>
<updated>2007-02-11T07:19:25Z</updated>
<author>
<name>YOSHIFUJI Hideaki</name>
</author>
<published>2007-02-09T14:24:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ec93edb14fe5fdee9fae6335f2cbba204627eac'/>
<id>urn:sha1:4ec93edb14fe5fdee9fae6335f2cbba204627eac</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>
</feed>
