Linux: Use kernel network helper functions
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 23 Apr 2010 17:03:49 +0000 (18:03 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 26 Apr 2010 04:09:20 +0000 (21:09 -0700)
commit1798fe6da1d40c083bc10fe101a73b5f67b6fa0d
tree8e26c0ea3f721073929555e8b2743194c98116bd
parent06f8a6232b7ad56a82dc94384dc950411107f48a
Linux: Use kernel network helper functions

Linux has various network helper functions available, which are
guaranteed to do the right thing in terms of setting address space
limits, not dereferencing NULL pointers, and the like. Use these, where
they're available, rather than rolling our own.

kernel_sendmsg and kernel_recvmsg appeared in 2.6.8.

Change-Id: I1cd91afd2182ad936756bbc4cf692262499c16e4
Reviewed-on: http://gerrit.openafs.org/1822
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4
src/afs/LINUX/osi_compat.h
src/cf/linux-test4.m4
src/rx/LINUX/rx_knet.c