freebsd-dev/sys
Maxim Konovalov a49b21371a o Calculate a number of bytes to copy (cnt) correctly:
+----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
  |    | |C| | |    |    |                          |    |
  | IP |N|O|L|P|    | IP |                          | IP |
  | #1 |O|D|E|T|    | #2 |                          | #n |
  |    |P|E|N|R|    |    |                          |    |
  +----+-+-+-+-+----+----+- - - - - - - - - - - -  -+----+
               ^    ^<---- cnt - (IPOPT_MINOFF - 1) ---->|
               |    |
src            |    +-- cp[IPOPT_OFF + 1] + sizeof(struct in_addr)
               |
dst            +-- cp[IPOPT_OFF + 1]

PR:		kern/66386
Submitted by:	Andrei Iltchenko
MFC after:	3 weeks
2004-05-11 19:14:44 +00:00
..
alpha When a denormal underflows to zero, raise an underflow exception. 2004-05-06 09:36:11 +00:00
amd64 Make unnecessary globals static and remove unused includes. 2004-05-06 02:18:58 +00:00
arm Don't declare osigset_t, as it is done in sys/_sigset.h. 2004-05-04 22:38:22 +00:00
boot Convert block comments into C-style that is understood by cpp(1). 2004-04-29 18:58:38 +00:00
cam Quirk for Neuros USB audio device. 2004-05-02 19:24:23 +00:00
coda
compat Small timer cleanups: 2004-04-30 20:51:55 +00:00
conf Add a driver for the watchdog timer function present on the LPC interface 2004-05-11 18:21:38 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r129059, 2004-05-09 03:06:25 +00:00
crypto
ddb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
dev Add a driver for the watchdog timer function present on the LPC interface 2004-05-11 18:21:38 +00:00
fs Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
geom Dont try to finish devstat's if the disk pointer is NULL, this can happen 2004-05-11 13:17:40 +00:00
gnu Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
i4b Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
i386 Rework the APIC mixed mode support a bit: 2004-05-10 18:49:58 +00:00
ia64 Revert previous commit. We should not get any FP traps from within 2004-05-07 05:35:31 +00:00
isa - The i8254 uses IRQ 0, not IRQ 8. Correct i8254_intsrc to reference the 2004-04-27 20:03:26 +00:00
isofs/cd9660 Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
kern Eliminate a memory leak in kern_symlink() that could occur if 2004-05-11 10:42:02 +00:00
libkern Fixed some style bugs (unsorting of prototypes in previous commit, and 2004-05-05 15:12:55 +00:00
modules Add a driver for the watchdog timer function present on the LPC interface 2004-05-11 18:21:38 +00:00
net Zero the un-used portions of the struct sockaddr data before sending 2004-05-10 15:07:23 +00:00
net80211 Link state change notification of ethernet media to the routing socket. 2004-05-05 15:48:06 +00:00
netatalk Remove redundant call to soisdisconnected() from ddp_abort(), as it 2004-05-05 03:34:37 +00:00
netatm These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
netgraph Mode few Bluetooth defines into system include files 2004-05-10 02:24:56 +00:00
netinet o Calculate a number of bytes to copy (cnt) correctly: 2004-05-11 19:14:44 +00:00
netinet6 fix the change of interface in nd6_storelladdr for multicast 2004-04-26 20:31:46 +00:00
netipsec use correct address for SADB_EXT_ADDRESS_DST in key_do_allocsa_policy 2004-05-03 05:15:53 +00:00
netipx Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netkey
netnatm Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netncp Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +00:00
netsmb Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nfsclient Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
nfsserver Don't send the available space as is in the FSSTAT call. Under 2004-04-12 13:02:21 +00:00
opencrypto kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
pc98 Mereged from sys/dev/sio/sio.c revision 1.429. 2004-05-06 13:16:45 +00:00
pccard Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pci Remove old cy driver files. They have been repo-copied to sys/dev/cy and 2004-05-02 05:38:49 +00:00
posix4
powerpc Add option GEOM_GPT. This brings the ability to have a large number of 2004-05-02 20:40:19 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security Improve consistency of include file guards in src/sys/sys by terminating 2004-05-10 18:38:07 +00:00
sparc64 Prefer explicit ints to implicit ints in the prototype as well as in 2004-05-10 11:17:20 +00:00
sys Improve consistency of include file guards in src/sys/sys by terminating 2004-05-10 18:38:07 +00:00
tools Correct $FreeBSD$ style. 2004-04-16 05:22:11 +00:00
ufs Revert previous change to this file because it breaks some 2004-04-29 15:10:42 +00:00
vm To handle orphaned character device vnodes properly in mmap(), check that 2004-05-11 10:26:37 +00:00
Makefile