freebsd-nq/sys
Scott Long 50736a153b Fix a problem with tag->boundary inheritence that has existed since day one
and was propagated to nearly every platform.  The boundary of the child needs
to consider the boundary of the parent and pick the minimum of the two, not
the maximum.  However, if either is 0 then pick the appropriate one.
This bug was exposed by a recent change to ATA, which should now be fixed by
this change.  The alignment and maxsegsz tag attributes likely also need
a similar review in the near future.

This is a MT5 candidate.

Reviewed by: marcel
Submitted by: sos (in part)
2004-09-08 04:54:19 +00:00
..
alpha Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
amd64 Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
arm Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
boot Add the loader side of support for preloading ELF relocatable object 2004-08-29 00:48:42 +00:00
cam For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00
coda General modernization of coda: 2004-09-01 01:19:52 +00:00
compat Regenerate after fcntl() wrappers were marked MP safe. 2004-08-24 20:24:34 +00:00
conf Device driver for the Cypress CY7C637xx and CY7C640/1xx families of USB 2004-09-05 09:43:47 +00:00
contrib From __FreeBSD_version 600001 on PFIL_HOOKS is permanently in the kernel and 2004-08-27 20:01:08 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Refactor a bunch of scheduler code to give basically the same behaviour 2004-09-05 02:09:54 +00:00
dev Don't change the state of the system in acpi_tz_establish(). Before, we 2004-09-07 17:02:08 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Create simple function init_va_filerev() for initializing a va_filerev 2004-09-07 09:17:05 +00:00
gdb Comment-out the debugging printf I left in in case there were some 2004-08-10 19:32:33 +00:00
geom For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00
gnu Create simple function init_va_filerev() for initializing a va_filerev 2004-09-07 09:17:05 +00:00
i4b Kill count device support from config. I've changed the last few 2004-08-30 23:03:58 +00:00
i386 Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
ia64 Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
isa Improve sync recovery algorithm: 2004-08-27 21:25:16 +00:00
isofs/cd9660 Temporarily back out revision 1.77. This changed cd9660_getattr() and 2004-09-05 11:18:53 +00:00
kern Create simple function init_va_filerev() for initializing a va_filerev 2004-09-07 09:17:05 +00:00
libkern Move the kernel-specific logic to adjust frompc from MI to MD. For 2004-08-27 19:42:35 +00:00
modules Device driver for the Cypress CY7C637xx and CY7C640/1xx families of USB 2004-09-05 09:43:47 +00:00
net Re-add ifi_epoch, to struct if_data, this time replacing ifi_unused 2004-09-08 04:50:55 +00:00
net80211 Add a new network interface flag, IFF_NEEDSGIANT, which will allow 2004-07-27 23:20:45 +00:00
netatalk Inline umich license from COPYRIGHT to make it clear what license the 2004-08-10 03:23:05 +00:00
netatm Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
netgraph Increase PPTP_MAX_TIMEOUT up to 3 seconds. 10 prooved too much for high packet 2004-09-06 19:53:58 +00:00
netinet revert comment from rev1.158 now that rev1.225 backed it out.. 2004-09-06 15:48:38 +00:00
netinet6 Call callout_init() on nd6_slowtimo_ch before setting it going; otherwise, 2004-09-05 17:27:54 +00:00
netipsec Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
netipx Mark Netgraph TTY, KAME IPSEC, and IPX/SPX as requiring Giant for correct 2004-08-28 15:24:53 +00:00
netkey The KAME IPSEC implementation at one point used its own pseudo-random 2004-09-02 20:14:03 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Explicitly pass vnode to nfs_doio() and mountpoint to nfs_asyncio(). 2004-09-07 08:56:43 +00:00
nfsclient Explicitly pass vnode to nfs_doio() and mountpoint to nfs_asyncio(). 2004-09-07 08:56:43 +00:00
nfsserver Convert a mtx_lock(&Giant) to a mtx_unlock(&Giant) in nfsrv_link() to 2004-08-25 16:52:59 +00:00
opencrypto Don't acquire Giant in cryptof_close(), as the code is intended to be 2004-08-10 03:26:17 +00:00
pc98 Switch the default scheduler to 4BSD to match what will go into RELENG_5 soon. 2004-09-07 22:37:43 +00:00
pccard Move PNP IDs back into oldcard files 2004-08-13 06:57:31 +00:00
pci Fix a couple of typos in comments 2004-09-06 13:42:38 +00:00
posix4
powerpc Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
rpc fix array index out of bounds in rpc->rc_srtt[], rpc->rc_sdrtt[] 2004-07-15 22:21:25 +00:00
security Allow mac_bsdextended(4) to log failed attempts to syslog's AUTHPRIV 2004-08-21 20:19:19 +00:00
sparc64 Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
sys Re-add ifi_epoch, to struct if_data, this time replacing ifi_unused 2004-09-08 04:50:55 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Create simple function init_va_filerev() for initializing a va_filerev 2004-09-07 09:17:05 +00:00
vm add KASSERTS 2004-09-07 07:32:40 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00