<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/sunrpc/socklib.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-01-30T07:05:43Z</updated>
<entry>
<title>SUNRPC: temp var should match return type of xdr_skb_read_actor</title>
<updated>2008-01-30T07:05:43Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2007-10-26T17:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=322e2efe6224be5de2852a7fddfac5cf11317af3'/>
<id>urn:sha1:322e2efe6224be5de2852a7fddfac5cf11317af3</id>
<content type='text'>
The return type of xdr_skb_read_actor functions is size_t.  This fixes a
nit I unwittingly overlooked in commit dd456471.

Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions</title>
<updated>2007-10-09T21:17:36Z</updated>
<author>
<name>\"Talpey, Thomas\</name>
</author>
<published>2007-09-10T17:45:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1244480976d357447aeddd3f44977586bfa0462b'/>
<id>urn:sha1:1244480976d357447aeddd3f44977586bfa0462b</id>
<content type='text'>
SUNRPC: add EXPORT_SYMBOL_GPL for generic transport functions

As a preface to allowing arbitrary transport modules to be loaded
dynamically, add EXPORT_SYMBOL_GPL for all generic transport functions
that a transport implementation might want to use.

Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Acked-by: Tom Talpey &lt;tmt@netapp.com&gt;

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>[NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY</title>
<updated>2007-04-26T05:28:43Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2007-04-09T18:59:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=604763722c655c7e3f31ecf6f7b4dafcd26a7a15'/>
<id>urn:sha1:604763722c655c7e3f31ecf6f7b4dafcd26a7a15</id>
<content type='text'>
When a transmitted packet is looped back directly, CHECKSUM_PARTIAL
maps to the semantics of CHECKSUM_UNNECESSARY.  Therefore we should
treat it as such in the stack.

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>SUNRPC: Rename skb_reader_t and friends</title>
<updated>2006-12-06T15:46:52Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2006-12-05T21:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd4564715eae2c4136f278da9ae1c3bb5af3e509'/>
<id>urn:sha1:dd4564715eae2c4136f278da9ae1c3bb5af3e509</id>
<content type='text'>
Clean-up:  hch suggested that the RPC client shouldn't pollute the name
space used by the generic skb manipulation routines in net/core/skbuff.c.

Rename a couple of types in xdr.h to adhere to this convention.

Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>SUNRPC: skb_read_bits is the same as xs_tcp_copy_data</title>
<updated>2006-12-06T15:46:52Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2006-12-05T21:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d29231690925915015c21c1fff73c7118099843'/>
<id>urn:sha1:9d29231690925915015c21c1fff73c7118099843</id>
<content type='text'>
Clean-up: eliminate xs_tcp_copy_data -- it's exactly the same logic as the
common routine skb_read_bits.  The UDP and TCP socket read code now share
the same routine for copying data into an xdr_buf.

Now that skb_read_bits() is exported, rename it to avoid confusing it with
a generic skb_* function.  As these functions are XDR-specific, they should
not have names that suggest they are of generic use.  Also rename
skb_read_and_csum_bits() to be consistent.

Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>[NET]: Annotate callers of the reset of checksum.h stuff.</title>
<updated>2006-12-03T05:23:34Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-11-15T05:36:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f92a7388a29594d6c365b23a48d4bb8299a3ea7'/>
<id>urn:sha1:5f92a7388a29594d6c365b23a48d4bb8299a3ea7</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Annotate callers of csum_fold() in net/*</title>
<updated>2006-12-03T05:23:27Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-11-15T05:24:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3bc23e7ee9db8023dff5a86bb3b0069ed018789'/>
<id>urn:sha1:d3bc23e7ee9db8023dff5a86bb3b0069ed018789</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE</title>
<updated>2006-09-22T21:53:53Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2006-08-29T23:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84fa7933a33f806bbbaae6775e87459b1ec584c0'/>
<id>urn:sha1:84fa7933a33f806bbbaae6775e87459b1ec584c0</id>
<content type='text'>
Replace CHECKSUM_HW by CHECKSUM_PARTIAL (for outgoing packets, whose
checksum still needs to be completed) and CHECKSUM_COMPLETE (for
incoming packets, device supplied full checksum).

Patch originally from Herbert Xu, updated by myself for 2.6.18-rc3.

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]: Detect hardware rx checksum faults correctly</title>
<updated>2005-11-10T21:01:24Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2005-11-10T21:01:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb286bb2990a107009dbf25f6ffebeb7df77f9be'/>
<id>urn:sha1:fb286bb2990a107009dbf25f6ffebeb7df77f9be</id>
<content type='text'>
Here is the patch that introduces the generic skb_checksum_complete
which also checks for hardware RX checksum faults.  If that happens,
it'll call netdev_rx_csum_fault which currently prints out a stack
trace with the device name.  In future it can turn off RX checksum.

I've converted every spot under net/ that does RX checksum checks to
use skb_checksum_complete or __skb_checksum_complete with the
exceptions of:

* Those places where checksums are done bit by bit.  These will call
netdev_rx_csum_fault directly.

* The following have not been completely checked/converted:

ipmr
ip_vs
netfilter
dccp

This patch is based on patches and suggestions from Stephen Hemminger
and David S. Miller.

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>[PATCH] RPC: extract socket logic common to both client and server</title>
<updated>2005-09-23T16:38:11Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2005-08-11T20:25:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=094bb20b9fcab3a1652a77741caba6b78097d622'/>
<id>urn:sha1:094bb20b9fcab3a1652a77741caba6b78097d622</id>
<content type='text'>
 Clean-up: Move some code that is common to both RPC client- and server-side
 socket transports into its own source file, net/sunrpc/socklib.c.

 Test-plan:
 Compile kernel with CONFIG_NFS enabled.  Millions of fsx operations over
 UDP, client and server.  Connectathon over UDP.

 Version: Thu, 11 Aug 2005 16:03:09 -0400

 Signed-off-by: Chuck Lever &lt;cel@netapp.com&gt;
 Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
