mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 04:15:06 +01:00
Compare commits
25
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0724db41d6 | ||
|
|
915811868a | ||
|
|
56be5e070a | ||
|
|
1207cdbf60 | ||
|
|
58edae4b7e | ||
|
|
1779af0ee0 | ||
|
|
3c7d831235 | ||
|
|
3bab4475b4 | ||
|
|
cf8b2948f1 | ||
|
|
322ce7360f | ||
|
|
baf8e819fe | ||
|
|
d5e70f8166 | ||
|
|
f57b9fbbd3 | ||
|
|
16dc3d4688 | ||
|
|
68ecc48e43 | ||
|
|
3fa952eeea | ||
|
|
db8848df2a | ||
|
|
af1793377c | ||
|
|
93d8e2065b | ||
|
|
81bca8e615 | ||
|
|
4f9a944ab4 | ||
|
|
fe509611f1 | ||
|
|
9ed0bc0f7a | ||
|
|
12f30ff0c3 | ||
|
|
8d8fe5d5b4 |
No files matched your search
+1
-1
@@ -93,7 +93,7 @@ CLEANDIR= cleandir
|
||||
.endif
|
||||
|
||||
CVS?= cvs
|
||||
CVSFLAGS?= -r RELENG_8 -P -d -I!
|
||||
CVSFLAGS?= -r RELENG_8_3 -P -d -I!
|
||||
SVN?= svn
|
||||
SVNFLAGS?= -r HEAD
|
||||
SUP?= /usr/bin/csup
|
||||
|
||||
@@ -15,6 +15,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8.x IS SLOW ON IA64 OR SUN4V:
|
||||
debugging tools present in HEAD were left in place because
|
||||
sun4v support still needs work to become production ready.
|
||||
|
||||
20120411:
|
||||
8.3-RELEASE.
|
||||
|
||||
20120106:
|
||||
A new VOP_ADVISE() was added to support posix_fadvise(2). All
|
||||
filesystem modules must be recompiled.
|
||||
|
||||
+3
-3
@@ -33,7 +33,7 @@ BUILDNAME?=${BASE}-${DATE}-SNAP
|
||||
#
|
||||
#CHROOTDIR=/junk/release
|
||||
# If this is a -stable snapshot, then set
|
||||
#RELEASETAG=RELENG_8
|
||||
#RELEASETAG=RELENG_8_3
|
||||
#
|
||||
# To test a release with a source tree containing patches and
|
||||
# other work. This tree will get copied instead of getting the
|
||||
@@ -72,7 +72,7 @@ BUILDNAME?=${BASE}-${DATE}-SNAP
|
||||
#
|
||||
# Subversion branch to build for src. If this is not set then it is
|
||||
# automatically computed from RELEASETAG.
|
||||
#SVNBRANCH=stable/8
|
||||
#SVNBRANCH=releng/8.3
|
||||
#
|
||||
# Non-zero if ${RELEASETAG} is in the form "RELENG_ver_RELEASE"; we
|
||||
# are building an official release. Otherwise, we are building for
|
||||
@@ -171,7 +171,7 @@ NOPORTSATALL= YES
|
||||
|
||||
#
|
||||
# Doing 'make index' in /usr/ports requires Perl.
|
||||
MAKEINDEXPORTS= lang/perl5.10
|
||||
MAKEINDEXPORTS= lang/perl5.12
|
||||
DOCPORTS= textproc/docproj
|
||||
# Set this to wherever the distfiles required by release procedures.
|
||||
.if defined(DOCDISTFILES)
|
||||
|
||||
@@ -81,5 +81,5 @@ MINIMALDOCPORTS+= \
|
||||
ports/textproc/p5-PodParser
|
||||
.else
|
||||
MINIMALDOCPORTS+= \
|
||||
ports/lang/perl5.10
|
||||
ports/lang/perl5.12
|
||||
.endif
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<!ENTITY % release PUBLIC "-//FreeBSD//ENTITIES Release Specification//EN">
|
||||
%release;
|
||||
<!ENTITY release.bugfix "8.2-RELEASE">
|
||||
<!ENTITY release.bugfix "8.3-RELEASE">
|
||||
]>
|
||||
|
||||
<article>
|
||||
@@ -40,7 +40,7 @@
|
||||
<pubdate>$FreeBSD$</pubdate>
|
||||
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<year>2012</year>
|
||||
<holder role="mailto:[email protected]">The &os; Documentation Project</holder>
|
||||
</copyright>
|
||||
|
||||
@@ -166,13 +166,6 @@
|
||||
<sect1 id="late-news">
|
||||
<title>Late-Breaking News and Corrections</title>
|
||||
|
||||
<para>A bug in <application>OpenSSL</application> that could cause
|
||||
it to parse past the end of the message was found at the late
|
||||
stage of &release.bugfix; release process. The &release.bugfix;
|
||||
includes a fix for this issue by importing relevant parts from
|
||||
the OpenSSL CVS. This could be triggered by an incorrectly
|
||||
formatted ClientHello SSL/TLS handshake messages. The details
|
||||
can be found at <ulink
|
||||
url="http://www.openssl.org/news/secadv_20110208.txt"></ulink>.</para>
|
||||
<para>No news.</para>
|
||||
</sect1>
|
||||
</article>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -12,7 +12,7 @@ UNITEXTS= hardware readme relnotes errata
|
||||
|
||||
IMAGEDIR= .imagedir
|
||||
RHOST= freefall.freebsd.org
|
||||
RDIR= public_html/relnotes/CURRENT
|
||||
RDIR= public_html/relnotes/RELENG_8_3
|
||||
DOCDIR= ./release/doc
|
||||
LANG= en_US.ISO8859-1
|
||||
|
||||
|
||||
@@ -6,15 +6,15 @@
|
||||
|
||||
<!-- Version of the OS we're describing. This needs to be updated
|
||||
with each new release. -->
|
||||
<!ENTITY release.current "8.2-RELEASE">
|
||||
<!ENTITY release.current "8.3-RELEASE">
|
||||
|
||||
<!-- The previous version used for comparison in the "What's New"
|
||||
section. For -CURRENT, we might point back to the last
|
||||
branchpoint. -->
|
||||
<!ENTITY release.prev "8.1-RELEASE">
|
||||
<!ENTITY release.prev "8.2-RELEASE">
|
||||
|
||||
<!-- The next version to be released, usually used for snapshots. -->
|
||||
<!ENTITY release.next "8.3-RELEASE">
|
||||
<!ENTITY release.next "8.4-RELEASE">
|
||||
|
||||
<!-- The name of this branch. -->
|
||||
<!ENTITY release.branch "8.2-STABLE">
|
||||
@@ -31,10 +31,10 @@
|
||||
|
||||
<!-- The manpaths for man page references -->
|
||||
<!ENTITY release.man.url "http://www.FreeBSD.org/cgi/man.cgi">
|
||||
<!ENTITY release.manpath.xorg "7.5">
|
||||
<!ENTITY release.manpath.xorg "7.5.1">
|
||||
<!ENTITY release.manpath.netbsd "5.1">
|
||||
<!ENTITY release.manpath.freebsd-ports "Ports">
|
||||
<!ENTITY release.manpath.freebsd "8.2-RELEASE">
|
||||
<!ENTITY release.manpath.freebsd "8.3-RELEASE">
|
||||
|
||||
<!-- Text constants which probably don't need to be changed.-->
|
||||
|
||||
|
||||
@@ -23,18 +23,28 @@ if 'PKG_VERBOSE' in os.environ:
|
||||
else:
|
||||
verbose = 0
|
||||
|
||||
if 'PKG_MEMSTICK' in os.environ:
|
||||
doing_memstick = 1
|
||||
else:
|
||||
doing_memstick = 0
|
||||
|
||||
if 'PKG_DVD' in os.environ:
|
||||
doing_dvd = 1
|
||||
else:
|
||||
doing_dvd = 0
|
||||
|
||||
# List of packages for disc1.
|
||||
# List of packages. At this point only the English documentation fits
|
||||
# on disc1. Add in the rest of the documentation for the memstick image.
|
||||
# And add in enough packages to make a basic graphical workstation for the
|
||||
# dvd image.
|
||||
def disc1_packages():
|
||||
pkgs = ['misc/freebsd-doc-bn',
|
||||
pkgs = ['misc/freebsd-doc-en']
|
||||
|
||||
if doing_memstick or doing_dvd:
|
||||
pkgs.extend(['misc/freebsd-doc-bn',
|
||||
'misc/freebsd-doc-da',
|
||||
'misc/freebsd-doc-de',
|
||||
'misc/freebsd-doc-el',
|
||||
'misc/freebsd-doc-en',
|
||||
'misc/freebsd-doc-es',
|
||||
'misc/freebsd-doc-fr',
|
||||
'misc/freebsd-doc-hu',
|
||||
@@ -48,22 +58,24 @@ def disc1_packages():
|
||||
'misc/freebsd-doc-sr',
|
||||
'misc/freebsd-doc-tr',
|
||||
'misc/freebsd-doc-zh_cn',
|
||||
'misc/freebsd-doc-zh_tw']
|
||||
'misc/freebsd-doc-zh_tw'])
|
||||
|
||||
if doing_dvd:
|
||||
pkgs.extend(['archivers/unzip',
|
||||
'emulators/linux_base-f10',
|
||||
'lang/perl5.10',
|
||||
'lang/perl5.12',
|
||||
'misc/freebsd-doc-all',
|
||||
'net/mpd5',
|
||||
'net/rsync',
|
||||
'ports-mgmt/p5-FreeBSD-Portindex',
|
||||
'ports-mgmt/portaudit',
|
||||
'ports-mgmt/portmaster',
|
||||
'ports-mgmt/portupgrade',
|
||||
'shells/bash',
|
||||
'shells/zsh',
|
||||
'security/sudo',
|
||||
'sysutils/screen',
|
||||
'www/firefox',
|
||||
'www/links',
|
||||
'x11-drivers/xf86-video-vmware',
|
||||
'x11/gnome2',
|
||||
'x11/kde4',
|
||||
'x11/xorg'])
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
*default host=CHANGE_THIS.FreeBSD.org
|
||||
*default base=/var/db
|
||||
*default prefix=/usr
|
||||
*default release=cvs tag=RELENG_8
|
||||
*default release=cvs tag=RELENG_8_3
|
||||
*default delete use-rel-suffix
|
||||
|
||||
# If you seem to be limited by CPU rather than network or disk bandwidth, try
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/endian.h>
|
||||
|
||||
#include <ufs/ufs/dinode.h>
|
||||
#include <ufs/ufs/dir.h>
|
||||
#include <ufs/ffs/fs.h>
|
||||
@@ -262,15 +264,28 @@ fsread(ino_t inode, void *buf, size_t nbyte)
|
||||
}
|
||||
n = (lbn - NDADDR) & (n - 1);
|
||||
#if defined(UFS1_ONLY)
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
memcpy((char *)&addr + sizeof(addr) -
|
||||
sizeof(ufs1_daddr_t), (ufs1_daddr_t *)indbuf + n,
|
||||
sizeof(ufs1_daddr_t));
|
||||
#else
|
||||
memcpy(&addr, (ufs1_daddr_t *)indbuf + n,
|
||||
sizeof(ufs1_daddr_t));
|
||||
#endif
|
||||
#elif defined(UFS2_ONLY)
|
||||
memcpy(&addr, (ufs2_daddr_t *)indbuf + n,
|
||||
sizeof(ufs2_daddr_t));
|
||||
#else
|
||||
if (fs.fs_magic == FS_UFS1_MAGIC)
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
memcpy((char *)&addr + sizeof(addr) -
|
||||
sizeof(ufs1_daddr_t),
|
||||
(ufs1_daddr_t *)indbuf + n,
|
||||
sizeof(ufs1_daddr_t));
|
||||
#else
|
||||
memcpy(&addr, (ufs1_daddr_t *)indbuf + n,
|
||||
sizeof(ufs1_daddr_t));
|
||||
#endif
|
||||
else
|
||||
memcpy(&addr, (ufs2_daddr_t *)indbuf + n,
|
||||
sizeof(ufs2_daddr_t));
|
||||
|
||||
@@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib);
|
||||
SECTIONS
|
||||
{
|
||||
/* Read-only sections, merged into text segment: */
|
||||
. = kernbase + kernload + SIZEOF_HEADERS;
|
||||
. = kernbase + kernload + 256;
|
||||
.interp : { *(.interp) }
|
||||
.hash : { *(.hash) }
|
||||
.dynsym : { *(.dynsym) }
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
|
||||
TYPE="FreeBSD"
|
||||
REVISION="8.3"
|
||||
BRANCH="PRERELEASE"
|
||||
BRANCH="RELEASE"
|
||||
if [ "X${BRANCH_OVERRIDE}" != "X" ]; then
|
||||
BRANCH=${BRANCH_OVERRIDE}
|
||||
fi
|
||||
|
||||
+6
-2
@@ -98,7 +98,11 @@ static struct _pcsid
|
||||
{ 0x1d688086, "Intel(R) C600 Series Chipset SAS Controller" },
|
||||
{ 0x1d698086, "Intel(R) C600 Series Chipset SAS Controller" },
|
||||
{ 0x1d6a8086, "Intel(R) C600 Series Chipset SAS Controller (SATA mode)" },
|
||||
{ 0x1d6b8086, "Intel(R) C600 Series Chipset SAS Controller (SATA mode)" },
|
||||
{ 0x1d6b8086, "Intel(R) C600 Series Chipset SAS Controller (SATA mode)" },
|
||||
{ 0x1d6c8086, "Intel(R) C600 Series Chipset SAS Controller" },
|
||||
{ 0x1d6d8086, "Intel(R) C600 Series Chipset SAS Controller" },
|
||||
{ 0x1d6e8086, "Intel(R) C600 Series Chipset SAS Controller" },
|
||||
{ 0x1d6f8086, "Intel(R) C600 Series Chipset SAS Controller (SATA mode)" },
|
||||
{ 0x00000000, NULL }
|
||||
};
|
||||
|
||||
@@ -114,7 +118,7 @@ isci_probe (device_t device)
|
||||
if (ep->desc)
|
||||
{
|
||||
device_set_desc(device, ep->desc);
|
||||
return (0);
|
||||
return (BUS_PROBE_DEFAULT);
|
||||
}
|
||||
else
|
||||
return (ENXIO);
|
||||
|
||||
@@ -87,6 +87,7 @@ static driver_t mps_pci_driver = {
|
||||
|
||||
static devclass_t mps_devclass;
|
||||
DRIVER_MODULE(mps, pci, mps_pci_driver, mps_devclass, 0, 0);
|
||||
MODULE_DEPEND(mps, cam, 1, 1, 1);
|
||||
|
||||
struct mps_ident {
|
||||
uint16_t vendor;
|
||||
|
||||
+62
-6
@@ -129,18 +129,34 @@ __FBSDID("$FreeBSD$");
|
||||
#define PCI_PRODUCT_LSI_FC919 0x0624
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC919_LAN
|
||||
#define PCI_PRODUCT_LSI_FC919_LAN 0x0625
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC929
|
||||
#define PCI_PRODUCT_LSI_FC929 0x0622
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC929_LAN
|
||||
#define PCI_PRODUCT_LSI_FC929_LAN 0x0623
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC929X
|
||||
#define PCI_PRODUCT_LSI_FC929X 0x0626
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC929X_LAN
|
||||
#define PCI_PRODUCT_LSI_FC929X_LAN 0x0627
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC919X
|
||||
#define PCI_PRODUCT_LSI_FC919X 0x0628
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC919X_LAN
|
||||
#define PCI_PRODUCT_LSI_FC919X_LAN 0x0629
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC7X04X
|
||||
#define PCI_PRODUCT_LSI_FC7X04X 0x0640
|
||||
#endif
|
||||
@@ -153,6 +169,10 @@ __FBSDID("$FreeBSD$");
|
||||
#define PCI_PRODUCT_LSI_1030 0x0030
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_1030ZC
|
||||
#define PCI_PRODUCT_LSI_1030ZC 0x0031
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_SAS1064
|
||||
#define PCI_PRODUCT_LSI_SAS1064 0x0050
|
||||
#endif
|
||||
@@ -177,10 +197,18 @@ __FBSDID("$FreeBSD$");
|
||||
#define PCI_PRODUCT_LSI_SAS1068 0x0054
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_SAS1068A
|
||||
#define PCI_PRODUCT_LSI_SAS1068A 0x0055
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_SAS1068E
|
||||
#define PCI_PRODUCT_LSI_SAS1068E 0x0058
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_SAS1068E2
|
||||
#define PCI_PRODUCT_LSI_SAS1068E2 0x0059
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_SAS1078
|
||||
#define PCI_PRODUCT_LSI_SAS1078 0x0062
|
||||
#endif
|
||||
@@ -232,7 +260,7 @@ mpt_pci_probe(device_t dev)
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
switch ((pci_get_device(dev) & ~1)) {
|
||||
switch (pci_get_device(dev)) {
|
||||
case PCI_PRODUCT_LSI_FC909:
|
||||
desc = "LSILogic FC909 FC Adapter";
|
||||
break;
|
||||
@@ -242,15 +270,27 @@ mpt_pci_probe(device_t dev)
|
||||
case PCI_PRODUCT_LSI_FC919:
|
||||
desc = "LSILogic FC919 FC Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC919_LAN:
|
||||
desc = "LSILogic FC919 LAN Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929:
|
||||
desc = "Dual LSILogic FC929 FC Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929_LAN:
|
||||
desc = "Dual LSILogic FC929 LAN Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC919X:
|
||||
desc = "LSILogic FC919 FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC919X_LAN:
|
||||
desc = "LSILogic FC919 LAN PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929X:
|
||||
desc = "Dual LSILogic FC929X 2Gb/s FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929X_LAN:
|
||||
desc = "Dual LSILogic FC929X LAN PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC646:
|
||||
desc = "Dual LSILogic FC7X04X 4Gb/s FC PCI-Express Adapter";
|
||||
break;
|
||||
@@ -258,6 +298,7 @@ mpt_pci_probe(device_t dev)
|
||||
desc = "Dual LSILogic FC7X04X 4Gb/s FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_1030:
|
||||
case PCI_PRODUCT_LSI_1030ZC:
|
||||
desc = "LSILogic 1030 Ultra4 Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_SAS1064:
|
||||
@@ -266,7 +307,9 @@ mpt_pci_probe(device_t dev)
|
||||
case PCI_PRODUCT_LSI_SAS1066:
|
||||
case PCI_PRODUCT_LSI_SAS1066E:
|
||||
case PCI_PRODUCT_LSI_SAS1068:
|
||||
case PCI_PRODUCT_LSI_SAS1068A:
|
||||
case PCI_PRODUCT_LSI_SAS1068E:
|
||||
case PCI_PRODUCT_LSI_SAS1068E2:
|
||||
case PCI_PRODUCT_LSI_SAS1078:
|
||||
case PCI_PRODUCT_LSI_SAS1078DE:
|
||||
desc = "LSILogic SAS/SATA Adapter";
|
||||
@@ -428,12 +471,17 @@ mpt_pci_attach(device_t dev)
|
||||
return (ENOMEM);
|
||||
}
|
||||
memset(mpt, 0, sizeof(struct mpt_softc));
|
||||
switch ((pci_get_device(dev) & ~1)) {
|
||||
switch (pci_get_device(dev)) {
|
||||
case PCI_PRODUCT_LSI_FC909:
|
||||
case PCI_PRODUCT_LSI_FC909A:
|
||||
case PCI_PRODUCT_LSI_FC919:
|
||||
case PCI_PRODUCT_LSI_FC919_LAN:
|
||||
case PCI_PRODUCT_LSI_FC929:
|
||||
case PCI_PRODUCT_LSI_FC929_LAN:
|
||||
case PCI_PRODUCT_LSI_FC929X:
|
||||
case PCI_PRODUCT_LSI_FC929X_LAN:
|
||||
case PCI_PRODUCT_LSI_FC919X:
|
||||
case PCI_PRODUCT_LSI_FC919X_LAN:
|
||||
case PCI_PRODUCT_LSI_FC646:
|
||||
case PCI_PRODUCT_LSI_FC7X04X:
|
||||
mpt->is_fc = 1;
|
||||
@@ -448,7 +496,9 @@ mpt_pci_attach(device_t dev)
|
||||
case PCI_PRODUCT_LSI_SAS1066:
|
||||
case PCI_PRODUCT_LSI_SAS1066E:
|
||||
case PCI_PRODUCT_LSI_SAS1068:
|
||||
case PCI_PRODUCT_LSI_SAS1068A:
|
||||
case PCI_PRODUCT_LSI_SAS1068E:
|
||||
case PCI_PRODUCT_LSI_SAS1068E2:
|
||||
mpt->is_sas = 1;
|
||||
break;
|
||||
default:
|
||||
@@ -499,11 +549,17 @@ mpt_pci_attach(device_t dev)
|
||||
* Is this part a dual?
|
||||
* If so, link with our partner (around yet)
|
||||
*/
|
||||
if ((pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC929 ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC646 ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC7X04X ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_1030) {
|
||||
switch (pci_get_device(dev)) {
|
||||
case PCI_PRODUCT_LSI_FC929:
|
||||
case PCI_PRODUCT_LSI_FC929_LAN:
|
||||
case PCI_PRODUCT_LSI_FC646:
|
||||
case PCI_PRODUCT_LSI_FC7X04X:
|
||||
case PCI_PRODUCT_LSI_1030:
|
||||
case PCI_PRODUCT_LSI_1030ZC:
|
||||
mpt_link_peer(mpt);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -2300,6 +2300,10 @@ sctp_peeloff(td, uap)
|
||||
error = fgetsock(td, uap->sd, &head, &fflag);
|
||||
if (error)
|
||||
goto done2;
|
||||
if (head->so_proto->pr_protocol != IPPROTO_SCTP) {
|
||||
error = EOPNOTSUPP;
|
||||
goto done2;
|
||||
}
|
||||
error = sctp_can_peel_off(head, (sctp_assoc_t)uap->name);
|
||||
if (error)
|
||||
goto done2;
|
||||
@@ -2418,6 +2422,10 @@ sctp_generic_sendmsg (td, uap)
|
||||
iov[0].iov_len = uap->mlen;
|
||||
|
||||
so = (struct socket *)fp->f_data;
|
||||
if (so->so_proto->pr_protocol != IPPROTO_SCTP) {
|
||||
error = EOPNOTSUPP;
|
||||
goto sctp_bad;
|
||||
}
|
||||
#ifdef MAC
|
||||
error = mac_socket_check_send(td->td_ucred, so);
|
||||
if (error)
|
||||
@@ -2528,6 +2536,10 @@ sctp_generic_sendmsg_iov(td, uap)
|
||||
#endif
|
||||
|
||||
so = (struct socket *)fp->f_data;
|
||||
if (so->so_proto->pr_protocol != IPPROTO_SCTP) {
|
||||
error = EOPNOTSUPP;
|
||||
goto sctp_bad;
|
||||
}
|
||||
#ifdef MAC
|
||||
error = mac_socket_check_send(td->td_ucred, so);
|
||||
if (error)
|
||||
@@ -2632,6 +2644,10 @@ sctp_generic_recvmsg(td, uap)
|
||||
goto out1;
|
||||
|
||||
so = fp->f_data;
|
||||
if (so->so_proto->pr_protocol != IPPROTO_SCTP) {
|
||||
error = EOPNOTSUPP;
|
||||
goto out;
|
||||
}
|
||||
#ifdef MAC
|
||||
error = mac_socket_check_receive(td->td_ucred, so);
|
||||
if (error) {
|
||||
|
||||
@@ -1169,6 +1169,10 @@ ng_bypass(hook_p hook1, hook_p hook2)
|
||||
return (EINVAL);
|
||||
}
|
||||
mtx_lock(&ng_topo_mtx);
|
||||
if (NG_HOOK_NOT_VALID(hook1) || NG_HOOK_NOT_VALID(hook2)) {
|
||||
mtx_unlock(&ng_topo_mtx);
|
||||
return (EINVAL);
|
||||
}
|
||||
hook1->hk_peer->hk_peer = hook2->hk_peer;
|
||||
hook2->hk_peer->hk_peer = hook1->hk_peer;
|
||||
|
||||
|
||||
@@ -55,11 +55,20 @@ sctp_can_peel_off(struct socket *head, sctp_assoc_t assoc_id)
|
||||
struct sctp_tcb *stcb;
|
||||
uint32_t state;
|
||||
|
||||
if (head == NULL) {
|
||||
SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EBADF);
|
||||
return (EBADF);
|
||||
}
|
||||
inp = (struct sctp_inpcb *)head->so_pcb;
|
||||
if (inp == NULL) {
|
||||
SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EFAULT);
|
||||
SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EFAULT);
|
||||
return (EFAULT);
|
||||
}
|
||||
if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
|
||||
(inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
|
||||
SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF, EOPNOTSUPP);
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1);
|
||||
if (stcb == NULL) {
|
||||
SCTP_LTRACE_ERR_RET(inp, stcb, NULL, SCTP_FROM_SCTP_PEELOFF, ENOENT);
|
||||
|
||||
@@ -2310,6 +2310,8 @@ copypktopts(struct ip6_pktopts *dst, struct ip6_pktopts *src, int canwait)
|
||||
dst->ip6po_hlim = src->ip6po_hlim;
|
||||
dst->ip6po_tclass = src->ip6po_tclass;
|
||||
dst->ip6po_flags = src->ip6po_flags;
|
||||
dst->ip6po_minmtu = src->ip6po_minmtu;
|
||||
dst->ip6po_prefer_tempaddr = src->ip6po_prefer_tempaddr;
|
||||
if (src->ip6po_pktinfo) {
|
||||
dst->ip6po_pktinfo = malloc(sizeof(*dst->ip6po_pktinfo),
|
||||
M_IP6OPT, canwait);
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
* in the range 5 to 9.
|
||||
*/
|
||||
#undef __FreeBSD_version
|
||||
#define __FreeBSD_version 802517 /* Master, propagated to newvers */
|
||||
#define __FreeBSD_version 803000 /* Master, propagated to newvers */
|
||||
|
||||
/*
|
||||
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
|
||||
|
||||
@@ -170,7 +170,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
|
||||
* If we'll need to use it or we're updating it,
|
||||
* then create the base home directory if necessary
|
||||
*/
|
||||
if ((arg != NULL || getarg(args, 'm') != NULL) && (getarg(args, 'd') == NULL)) {
|
||||
if (arg != NULL || getarg(args, 'm') != NULL) {
|
||||
int l = strlen(cnf->home);
|
||||
|
||||
if (l > 1 && cnf->home[l-1] == '/') /* Shave off any trailing path delimiter */
|
||||
|
||||
Reference in new issue
Block a user