summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFp4 CH=191470:bz2011-04-204-20/+28
| | | | | | | | | | | | | | Move the ipport_tick_callout and related functions from ip_input.c to in_pcb.c. The random source port allocation code has been merged and is now local to in_pcb.c only. Use a SYSINIT to get the callout started and no longer depend on initialization from the inet code, which would not work in an IPv6 only setup. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
* MFp4 CH=191466:bz2011-04-202-2/+1
| | | | | | | | | | Move fw_one_pass to where it belongs: it is a property of ipfw, not of ip_input. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 3 days
* Modify the offset + size checks for read and write in thermacklem2011-04-201-3/+13
| | | | | | | | | experimental NFS client to take care of overflows for the calls above the buffer cache layer in a manner similar to r220876. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks
* Modify the offset + size checks for read and write in thermacklem2011-04-201-3/+6
| | | | | | | | experimental NFS client to take care of overflows. Thanks go to dillon at apollo.backplane.com for providing the snippet of code that does this. MFC after: 2 weeks
* Add stablerestart(5) to the See Also list for nfsd.8.rmacklem2011-04-191-1/+2
| | | | | | | This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks
* Use Toeplitz hash for RSS.np2011-04-191-0/+1
| | | | MFC after: 3 days
* - Move all Ethernet specific items from sge_eq to sge_txq. sge_eq isnp2011-04-193-115/+345
| | | | | | | | | | now a suitable base for all kinds of egress queues. - Add control queues (sge_ctrlq) and allocate one of these per hardware channel. They can be used to program filters and steer traffic (and more). MFC after: 1 week
* Correctly output the entire array for hw.acpi.thermal._ACx.mdf2011-04-191-1/+2
| | | | | Reported by: Taku YAMAMOTO < taku AT tackymt DOT homeip DOT net > Tested by: Nick Ulen < uncle AT wolfman DOT devio DOT us >
* Enable DC calibration for all 6000 series devices, except thosebschmidt2011-04-191-1/+6
| | | | | with an internal PA. Override the chainmask also for the 6050.
* Pull some features out of the firmware:bschmidt2011-04-193-3/+20
| | | | | | | | | - If a ENH_SENS TLV section exit the firmware is capable of doing enhanced sensitivity calibration. - Newer devices/firmwares have more calibration commands therefore hardcoding the noise gain/reset commands no longer works. It is supposed to use the next index after the newest calibration type support. Read the command index of the TLV section if available.
* Scenario:pjd2011-04-192-0/+20
| | | | | | | | | | | | | | | | | | | - We have two nodes connected and synchronized (local counters on both sides are 0). - We take secondary down and recreate it. - Primary connects to it and starts synchronization (but local counters are still 0). - We switch the roles. - Synchronization restarts but data is synchronized now from new primary (because local counters are 0) that doesn't have new data yet. This fix this issue we bump local counter on primary when we discover that connected secondary was recreated and has no data yet. Reported by: trociny Discussed with: trociny Tested by: trociny MFC after: 1 week
* Remove support for the Intel C Compiler from the build infrastructure.dim2011-04-198-109/+21
| | | | | | This support has not worked for several years, and is not likely to work again, unless Intel decides to release a native FreeBSD version of their compiler. ;)
* Remove a comment which is no longer true since r213878, apart frommarius2011-04-191-3/+0
| | | | | | this driver not using mii(4) in the first place. Reviewed by: yongari
* Allow VOP_ALLOCATE to be iterative, and have kern_posix_fallocate(9)mdf2011-04-193-48/+61
| | | | | | drive looping and potentially yielding. Requested by: kib
* Do not invoke resume event handlers if suspend was successful.jkim2011-04-191-4/+6
| | | | Pointy hat to: jkim
* Improve the man page and l2control's usage() a bit.emax2011-04-192-13/+22
| | | | | Submitted by: arundel MFC after: 1 week
* Add suspend/resume event handlers for apm(4) as well.jkim2011-04-191-6/+7
|
* - Rewrite functions that copyin/out NAT configuration, so that theyglebius2011-04-193-55/+74
| | | | | | | | | | calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field to ip_fw_chain - generation count. Now utilized only in the NAT configuration, but can be utilized wider in ipfw. - Get rid of NAT_BUF_LEN in ip_fw.h PR: kern/143653
* Call init_param1() much earlier, so that msgbufsize is non-zero when we wantpluknet2011-04-191-2/+3
| | | | | | | to map and use the msgbuf. Reviewed by: cognet MFC after: 1 week
* Rewrite NAT configuration parser, so that memory allocation size isglebius2011-04-191-186/+189
| | | | | | calculated dynamically. PR: kern/143653
* Fix mirror selection, which was broken by stderr redirection.nwhitehorn2011-04-192-2/+2
| | | | Reported by: Garrett Cooper
* Revert r220809 since it put the entry in the wrong placermacklem2011-04-191-2/+1
| | | | in the list and didn't change the date.
* Add sysctl handlers for net.inet.ip.dummynet.hash_size, .pipe_byte_limitae2011-04-191-8/+52
| | | | | | and .pipe_slot_limit oids to prevent to set incorrect values. MFC after: 2 weeks
* ipdn_bound_var() functions is designed to bound a variable betweenae2011-04-191-1/+5
| | | | | | | | | | specified minimum and maximum. In case when specified default value is out of bounds it does not work as expected and does not limit variable. Check that default value is in range and limit it if needed. Also bump max_hash_size value to 65536 to correspond with manual page. PR: kern/152887 MFC after: 2 weeks
* Fix some English grammar.mav2011-04-196-17/+17
|
* According to specification. device should respond to COMRESET with COMINITmav2011-04-193-26/+47
| | | | | in no more then 10ms. If we detected no device presence within that time, there is no reason to wait longer.
* Properly handle memory allocation errors during error recovery.mav2011-04-193-16/+55
|
* Add leading zeros when printing the physical memory chunks on __powerpc64__.andreast2011-04-191-1/+1
| | | | Approved by: nwhitehorn (mentor)
* Fix make buildworld -DMODULES_WITH_WORLD after r220454.uqs2011-04-191-0/+1
|
* Use M_WAITOK instead M_WAIT for malloc. Remove unneded checks.ae2011-04-191-7/+1
| | | | MFC after: 1 week
* Fix up handling of the nfsmount structure in read and writermacklem2011-04-191-11/+11
| | | | | | | | | within the experimental NFS client. Mostly add mutex locking and use the same rsize, wsize during the operation by keeping a local copy of it. This is another change that brings it closer to the regular NFS client. MFC after: 2 weeks
* Add stablerestart(5) to the See Also list for nfsd(8).rmacklem2011-04-191-1/+2
| | | | | | | This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks
* Furthermore condition IP waiting behaviour also on -dynamic flag.sobomax2011-04-181-4/+8
| | | | | | This should preserve POLA in all other cases (foreground || non-dynamic). MFC after: 2 weeks
* Revert r220761 since, as kib@ pointed out, the case ofrmacklem2011-04-183-13/+0
| | | | | | | | adding the check to nfsrpc_close() isn't useful. Also, the check in nfscl_getcl() must be more involved, since it needs to check before and after the acquisition of the refcnt on nfsc_lock, while the mutex that protects the client state data is held.
* Only wait for the IP to appear on the interface if natd is running in thesobomax2011-04-181-5/+5
| | | | | | | | | | | background. Suggested by: Garrett Cooper <yanegomi@gmail.com> Use EAGAIN instead of magic value of -2 to report this condition from the SetAliasAddressFromIfName routine. MFC after: 2 weeks
* Do not assume PM timer GAS type is I/O or memory. It may be an unsupportedjkim2011-04-181-8/+33
| | | | | type, i. e., a broken table. Also, do not hardcode ACPI timer frequency in device description.
* More whitespace fixes.glebius2011-04-184-41/+41
| | | | Checked with: md5, diff -x -w
* Make pmap_invalidate_cache_range() available for consumption on amd64.kib2011-04-184-14/+78
| | | | | | | | | | | | | | | | Add pmap_invalidate_cache_pages() method on x86. It flushes the CPU cache for the set of pages, which are not neccessary mapped. Since its supposed use is to prepare the move of the pages ownership to a device that does not snoop all CPU accesses to the main memory (read GPU in GMCH), do not rely on CPU self-snoop feature. amd64 implementation takes advantage of the direct map. On i386, extract the helper pmap_flush_page() from pmap_page_set_memattr(), and use it to make a temporary mapping of the flushed page. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
* Whitespace fixes.glebius2011-04-186-268/+266
| | | | Checked with: md5, diff -w
* Changed "conscontrol unset" to accept an existing virtualru2011-04-182-24/+12
| | | | | | | console device as an argument. Unsetting virtual console using /dev/console seems to have never worked. MFC after: 3 days
* LibAliasInit() should allocate memory with M_WAITOK flag. Modify itglebius2011-04-183-18/+12
| | | | and its callers.
* Document problems with -d/-w and the fact that -X is the default.trasz2011-04-181-2/+9
| | | | | Suggested by: arundel@ Reviewed by: arundel@
* Fix a few acpi sysctls that want "IK" formatting to specify CTLTYPE_INT.mdf2011-04-181-7/+7
| | | | | | | This got broken after r217586. Pointy hat: to me Tested by: David Wolfskill < davit AT catwhisker DOT org >
* Pullup up to TCP header length before matching against 'tcpopts'.glebius2011-04-181-2/+5
| | | | | PR: kern/156180 Reviewed by: luigi
* When checking to see if a window update should be sent to the remote peer,jhb2011-04-181-0/+8
| | | | | | | | | | | | | don't force a window update if the window would not actually grow due to window scaling. Specifically, if the window scaling factor is larger than 2 * MSS, then after the local reader has drained 2 * MSS bytes from the socket, a window update can end up advertising the same window. If this happens, the supposed window update actually ends up being a duplicate ACK. This can result in an excessive number of duplicate ACKs when using a higher maximum socket buffer size. Reviewed by: bz MFC after: 1 month
* Fix a copy/paste whitespace error.mdf2011-04-181-3/+3
|
* Regen.mdf2011-04-1811-12/+97
|
* Add the posix_fallocate(2) syscall. The default implementation inmdf2011-04-1811-2/+393
| | | | | | | | | | | | | | vop_stdallocate() is filesystem agnostic and will run as slow as a read/write loop in userspace; however, it serves to correctly implement the functionality for filesystems that do not implement a VOP_ALLOCATE. Note that __FreeBSD_version was already bumped today to 900036 for any ports which would like to use this function. Also reserve space in the syscall table for posix_fadvise(2). Reviewed by: -arch (previous version)
* Reduce geom_raid log verbosity.mav2011-04-181-1/+1
|
* Handle ready timeout during polled operation same as done in mvs(4) before.mav2011-04-182-0/+6
|
OpenPOWER on IntegriCloud