summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add RT305x specific devices here.imp2012-10-231-0/+2
|
* Add support for syscons (we should consider moving most of this intoimp2012-10-231-0/+9
| | | | files, another day).
* Remove extra word:eadler2012-10-231-1/+1
| | | | | | Submitted by: many Approved by: cperciva (implicit) MFC after: 3 days
* Start a clean-room implementation of files.mips. This is sufficientimp2012-10-231-115/+62
| | | | | for SWARM64 and SWARM64_SMP to compile. Other kernels will be layered in.
* Update zero_copy(9) man page to note the renamed kernel optionsandre2012-10-231-2/+5
| | | | and to warn about unsafeness of COW based sends.
* Replace the ill-named ZERO_COPY_SOCKET kernel option with twoandre2012-10-234-28/+40
| | | | | | | | | | | | | | | | | | | | | more appropriate named kernel options for the very distinct send and receive path. "options SOCKET_SEND_COW" enables VM page copy-on-write based sending of data on an outbound socket. NB: The COW based send mechanism is not safe and may result in kernel crashes. "options SOCKET_RECV_PFLIP" enables VM kernel/userspace page flipping for special disposable pages attached as external storage to mbufs. Only the naming of the kernel options is changed and their corresponding #ifdef sections are adjusted. No functionality is added or removed. Discussed with: alc (mechanism and limitations of send side COW)
* Add the VFS_UNLOCK_GIANT.9.gz hardlink to ObsoleteFiles list too.kib2012-10-231-0/+1
| | | | Noted by: pluknet
* Use ip_stripoptions() instead of handrolled version.glebius2012-10-231-13/+1
|
* Simplify ip_stripoptions() reducing number of intermediateglebius2012-10-231-6/+4
| | | | variables.
* Do not reduce ip_len by size of IP header in the ip_input()glebius2012-10-239-24/+10
| | | | | | | | | | | before passing a packet to protocol input routines. For several protocols this mean that now protocol needs to do subtraction itself, and for another half this means that we do not need to add header length back to the packet. Make ip_stripoptions() to adjust ip_len, since now we enter this function with a packet header whose ip_len does represent length of entire packet, not payload only.
* - Fix one more miss from r241913.glebius2012-10-231-2/+4
| | | | | - Add XXX comment about necessity of the entire block, that "fixes up" the IP header.
* Remove compat options.rpaulo2012-10-231-4/+0
| | | | Submitted by: netchild
* Couple of changes missed from r241913, which convertedglebius2012-10-222-23/+9
| | | | IPv4 stack to network byte order.
* Don't try to cache the page setting - always set the page beforeadrian2012-10-221-4/+11
| | | | | | doing a switch register read/write. PR: kern/172968
* Now that device disabling is generic, remove extraneous code from theeadler2012-10-224-20/+0
| | | | | | | | | | device drivers that used to provide this feature. This is a subset of 241856 (which was reverted) Reviewed by: des Approved by: cperciva (implicit) MFC after: 1 week
* Remove __P.delphij2012-10-2220-319/+319
| | | | | | Submitted by: kevlo Reviewed by: md5(1) MFC after: 2 months
* Remove unused `vfslocked' variable.ed2012-10-221-2/+1
| | | | | I have no idea what this `vfslocked' thing means. I wonder how it ended up here.
* Switch the entire IPv4 stack to keep the IP packet headerglebius2012-10-2238-229/+132
| | | | | | | | | | | | | | | | | | | | | | | in network byte order. Any host byte order processing is done in local variables and host byte order values are never[1] written to a packet. After this change a packet processed by the stack isn't modified at all[2] except for TTL. After this change a network stack hacker doesn't need to scratch his head trying to figure out what is the byte order at the given place in the stack. [1] One exception still remains. The raw sockets convert host byte order before pass a packet to an application. Probably this would remain for ages for compatibility. [2] The ip_input() still subtructs header len from ip->ip_len, but this is planned to be fixed soon. Reviewed by: luigi, Maxim Dounin <mdounin mdounin.ru> Tested by: ray, Olivier Cochard-Labbe <olivier cochard.me>
* Allow building libc++ with any custom -std=xxx flag. Note that usingdim2012-10-221-0/+2
| | | | | | | -std=gnu++98 will give a lot of warnings with clang, so please use -std=c++0x or higher, or use NO_WERROR. MFC after: 1 week
* Remove unnecessary chain read lock in ipfw nat 'global' code.melifaro2012-10-221-2/+7
| | | | | | Document case when ipfw chain lock must be held while calling ipfw_nat(). MFC after: 2 weeks
* Fix two -Wsystem-header warnings in libc++ that were exposed by the newdim2012-10-221-3/+2
| | | | | | ATF import. These have also been sent upstream. MFC after: 1 month
* MFV: netcat from OpenBSD 5.2.delphij2012-10-224-27/+60
| | | | MFC after: 1 month
* Import libc++ trunk r165949. Among other improvements and bug fixes,dim2012-10-2268-1561/+2188
|\ | | | | | | | | | | | | | | | | | | this has many visibility problems fixed, which should help with compiling certain ports that exercise C++11 mode (i.e. Firefox). Also, belatedly add the LICENSE.TXT and accompanying CREDITS.TXT files, which are referred to in all the source files. MFC after: 1 month
| * Vendor import of libc++ trunk r165949:dim2012-10-2272-1984/+2192
| | | | | | | | http://llvm.org/svn/llvm-project/libcxx/trunk@165949
| * Import a new version of libc++ into the vendor branch.theraven2012-05-0315-1036/+1071
| |
| * New version of libc++ with some bug fixes.theraven2012-03-144-10/+19
| | | | | | | | Approved by: dim (mentor)
* | Optimize syntax to use builtins and reduce unnecessary forking where possible.dteske2012-10-222-14/+10
| | | | | | | | | | Reviewed by: nwhitehorn Approved by: adrian (co-mentor)
* | Resurrect usage.hlp and securelevel.hlp from sysinstall(8) and integrate themdteske2012-10-228-27/+149
| | | | | | | | | | | | into bsdconfig(8). Approved by: adrian (co-mentor) (implicit)
* | Bump __FreeBSD_version and make a note in UPDATING about removal ofkib2012-10-222-1/+6
| | | | | | | | the support for non-MPSAFE filesystems.
* | Remove the support for using non-mpsafe filesystem modules.kib2012-10-2282-1586/+292
| | | | | | | | | | | | | | | | | | | | | | | | In particular, do not lock Giant conditionally when calling into the filesystem module, remove the VFS_LOCK_GIANT() and related macros. Stop handling buffers belonging to non-mpsafe filesystems. The VFS_VERSION is bumped to indicate the interface change which does not result in the interface signatures changes. Conducted and reviewed by: attilio Tested by: pho
* | Pull in r165878 from upstream llvm trunk:dim2012-10-221-1/+3
| | | | | | | | | | | | | | | | | | X86: Disable long nops for all cpus prior to pentiumpro/i686. This is the safest approach for now. If you think long nops matter a lot for performance, compile with -march=i686 or higher. :) MFC after: 3 days
* | Update re members to realityeadler2012-10-221-1/+1
| | | | | | | | MFC after: 3 days
* | Remove ZERO_COPY_SOCKETS from kernel configuration as the currentandre2012-10-221-1/+0
| | | | | | | | COW based approach is not safe and should not be used in production.
* | Fix typo ('a' and 'o' are not the same letter apparently)eadler2012-10-221-1/+1
| | | | | | | | Approved by: cperciva (implicit)
* | Make PFIL use per-VNET lock instead of per-AF lock. Since most used packetmelifaro2012-10-223-12/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filters (ipfw and PF) use the same ruleset with the same lock for both AF_INET and AF_INET6 there is no need in more fine-grade locking. However, it is possible to request personal lock by specifying PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for more details). Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers to use this lock instead of own lock. This help reducing locks on main traffic path. pfil_assert() is currently not implemented due to absense of rm_assert(). Waiting for some kind of r234648 to be merged in HEAD. This change is part of bigger patch reducing routing locking. Sponsored by: Yandex LLC Reviewed by: glebius, ae OK'd by: silence on net@ MFC after: 3 weeks
* | Revert r241756imp2012-10-221-62/+0
| |
* | Revert r241755imp2012-10-221-51/+0
| |
* | This isn't functionally identical. In some cases a hint to disableeadler2012-10-2230-0/+91
| | | | | | | | | | | | | | | | unit 0 would in fact disable all units. This reverts r241856 Approved by: cperciva (implicit)
* | Eliminate code checking if found IPv6 rte is dynamic. IPv6 redirectsmelifaro2012-10-221-156/+0
| | | | | | | | | | | | | | | | | | | | | | are using (different) ND-based approach described in RFC 4861. This change is similar to r241406 which conditionally skips the same check in IPv4. This change is part of bigger patch eliminating rte locking. Sponsored by: Yandex LLC. OK'd by: hrs MFC after: 2 weeks
* | Provide example for newly-added NG_NETFLOW_V9INFO_TYPEmelifaro2012-10-221-0/+2
| | | | | | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com> MFC with: r241446
* | Somehow this got replicated too many timeseadler2012-10-221-18/+0
| | | | | | | | Approved by: cperciva (implicit)
* | The 'testing memory' patch gets printed too many timeseadler2012-10-223-6/+0
| | | | | | | | Approved by: cperciva (implicit)
* | When loader tries to open GPT partition, but partition table is not GPT,ae2012-10-221-0/+7
| | | | | | | | | | | | | | then try automatically detect an appropriate partition type. PR: kern/172550 Tested by: Ralf Wenk
* | Remove support for using Giant for locking within mpt(4). Finer grainedmarius2012-10-223-117/+0
| | | | | | | | | | | | locking has been working fine for ~5.5 years by now. MFC after: 1 week
* | After r241858, remove the remainder of FreeBSD ~4 support from mpt(4).marius2012-10-225-252/+30
| | | | | | | | MFC after: 1 week
* | MFV of r241867edwin2012-10-222-4/+23
| | | | | | | | | | | | | | Merge of tzdata2012g into head: - Fix end of DST in Gaza and Hebron - Western Samoa: DST start at 30 Septembet 2012 and finished at 7 April 2013.
* | Add German, French, Portuguese and Spanish names for the Spanish Dvorakgavin2012-10-221-0/+4
| | | | | | | | | | | | keymap. MFC after: 1 week
* | Remove MLINK for if_idt.kevlo2012-10-221-1/+0
| | | | | | | | Spotted by: Alie Tan <alie at affle dot com>
* | Now that device disabling is generic, remove the non-standardeadler2012-10-221-5/+0
| | | | | | | | | | | | | | | | | | implementation from mpt Don't MFC this to retain backwards compatibility. Reviewed by: des, mjacob Approved by: cperciva
* | Add a clean-room reimplementation of a script originallyeadler2012-10-224-0/+210
| | | | | | | | | | | | | | | | | | | | | | | | found in openssh's contrib directory. This version has more features and is better written. I intend to submit this upstream as well. Reviewed by: bapt Reviewed by: des Approved by: cperciva MFC after: 1 week
OpenPOWER on IntegriCloud