freebsd-dev/sys
Robert Watson 4d896055ce Remove unused support for local and foreign addresses in generic raw
socket support.  These utility routines are used only for routing and
pfkey sockets, neither of which have a notion of address, so were
required to mock up fake socket addresses to avoid connection
requirements for applications that did not specify their own fake
addresses (most of them).

Quite a bit of the removed code is #ifdef notdef, since raw sockets
don't support bind() or connect() in practice.  Removing this
simplifies the raw socket implementation, and removes two (commented
out) uses of dtom(9).

Fake addresses passed to sendto(2) by applications are ignored for
compatibility reasons, but this is now done in a more consistent way
(and with a comment).  Possibly, EINVAL could be returned here in
the future if it is determined that no applications depend on the
semantic inconsistency of specifying a destination address for a
protocol without address support, but this will require some amount
of careful surveying.

NB: This does not affect netinet, netinet6, or other wire protocol
raw sockets, which provide their own independent infrastructure with
control block address support specific to the protocol.

MFC after:	3 weeks
Reviewed by:	bz
2008-07-09 15:48:16 +00:00
..
amd64 Fix lines that are too long in pmap_growkernel() by substituting shorter but 2008-07-09 06:04:10 +00:00
arm Remove the unused major/minor numbers from iodev and memdev. 2008-06-25 07:45:31 +00:00
boot Remove the sbni(4) driver. No one responded to calls to test it on 2008-07-04 21:06:57 +00:00
bsm Merge OpenBSM 1.0 changes to src/sys/bsm: 2007-10-29 18:47:25 +00:00
cam Locking in the ses_ioctl handler doesn't have to be so strict because 2008-03-17 17:18:16 +00:00
cddl Remove the $FreeBSD$ tag again, now I know fbsd:nokeywords exists. 2008-06-12 08:53:54 +00:00
compat Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
conf Add CTF conversion to the objects compiled from generated code. 2008-07-05 06:12:14 +00:00
contrib Remove the oltr(4) driver. No one responded to calls for testing on 2008-07-04 18:58:53 +00:00
crypto Make test00 compilable again. 2008-01-15 18:34:47 +00:00
ddb Print out the container lock when showing the thread state in DDB. 2008-06-18 20:42:01 +00:00
dev Driver failed to allocate MMIO resources. Attached patch adds a fallback path. 2008-07-09 15:10:53 +00:00
fs Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
gnu Move the head of byte-level advisory lock list from the 2008-04-16 11:33:32 +00:00
i386 Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
ia64 Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
isa atrtc.c is a repocopy of the RTC device driver from i386/isa/clock.c 2008-04-14 07:57:15 +00:00
kern Improve the output of kldload(8) to show which module can't be loaded. 2008-07-08 23:51:38 +00:00
libkern Add prototype for __cmpd2(). 2008-02-23 22:40:05 +00:00
mips In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT 2008-07-07 17:31:02 +00:00
modules Remove the sbsh(4) driver. No one responded to requests for testing the 2008-07-04 21:24:35 +00:00
net Remove unused support for local and foreign addresses in generic raw 2008-07-09 15:48:16 +00:00
net80211 reorder RSN/WPA2 ie in beacon and probe response frames to comply 2008-07-07 17:24:55 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Back out r180370. It was not discussed with subsystem maintainers. 2008-07-08 20:19:43 +00:00
netinet Provide some initial chicken-scratching annotations of locking for 2008-07-08 17:22:59 +00:00
netinet6 Change the parameters to in6_selectsrc(): 2008-07-08 18:41:36 +00:00
netipsec Remove unused support for local and foreign addresses in generic raw 2008-07-09 15:48:16 +00:00
netipx Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp lockmgrs need to be released before to be destroyed and draining doesn't 2008-03-30 18:16:33 +00:00
netsmb Really, smb_iod_main() is not totally MPSAFE, so just acquire and drop 2008-03-27 01:23:59 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Once the ENOLCK is detected we expect to retry the acquisition. 2008-05-27 00:20:19 +00:00
nfsclient Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
nfsserver Remove spls from NFS server setup call; expand receive socket buffer 2008-06-30 20:43:06 +00:00
nlm Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
opencrypto Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
pc98 Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
pccard
pci Add driver support for RTL8102E and RTL8102EL which is the second 2008-07-09 01:58:18 +00:00
powerpc Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
rpc Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
security Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
sparc64 Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
sun4v Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out 2008-07-07 22:55:11 +00:00
sys The kqueue_register() function assumes that it is called from the top of 2008-07-07 09:30:11 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs Fix comments to replace SBSIZE with SBLOCKSIZE, since SBSIZE 2008-05-24 20:44:14 +00:00
vm Enable the creation of a kmem map larger than 4GB. 2008-07-05 19:34:33 +00:00
xdr Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
Makefile Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and 2008-05-26 10:40:09 +00:00