]> err.no Git - linux-2.6/commit
[SUNRPC]: svc_{get,put}nl()
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 27 Sep 2006 05:28:46 +0000 (22:28 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:20 +0000 (18:01 -0700)
commit7699431301b189fca7ccbb64fe54e5a5170f8497
tree4c20c5121776984cb054de3e0759cbeae860de3a
parent13d8eaa06abfeb708b60fa64203a20db033088b3
[SUNRPC]: svc_{get,put}nl()

* add svc_getnl():
Take network-endian value from buffer, convert to host-endian
and return it.
* add svc_putnl():
Take host-endian value, convert to network-endian and put it
into a buffer.
* annotate svc_getu32()/svc_putu32() as dealing with network-endian.
* convert to svc_getnl(), svc_putnl().

[AV: in large part it's a carved-up Alexey's patch]

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sunrpc/svc.h
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/svc.c
net/sunrpc/svcauth.c
net/sunrpc/svcauth_unix.c