summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Print PMC capabilities at module load time.jkoshy2005-08-221-3/+9
| | | | MFC after: 3 days
* Document IP_MINTTL socket option.andre2005-08-221-1/+9
| | | | | MFC after: 2 weeks Sponsored by: TCP/IP Optimization Fundraise 2005
* Add socketoption IP_MINTTL. May be used to set the minimum acceptableandre2005-08-227-0/+32
| | | | | | | | | | | | | | | | | TTL a packet must have when received on a socket. All packets with a lower TTL are silently dropped. Works on already connected/connecting and listening sockets for RAW/UDP/TCP. This option is only really useful when set to 255 preventing packets from outside the directly connected networks reaching local listeners on sockets. Allows userland implementation of 'The Generalized TTL Security Mechanism (GTSM)' according to RFC3682. Examples of such use include the Cisco IOS BGP implementation command "neighbor ttl-security". MFC after: 2 weeks Sponsored by: TCP/IP Optimization Fundraise 2005
* Always quote the entire TCP header when responding and allocate an mbufandre2005-08-221-4/+24
| | | | | | | | | | | | cluster if needed. Fixes the TCP issues raised in I-D draft-gont-icmp-payload-00.txt. This aids in-the-wild debugging a lot and allows the receiver to do more elaborate checks on the validity of the response. MFC after: 2 weeks Sponsored by: TCP/IP Optimization Fundraise 2005
* Handle pure layer 2 broad- and multicasts properly and simplify relatedandre2005-08-221-19/+3
| | | | | | | | checks. PR: kern/85052 Submitted by: Dmitrij Tejblum <tejblum at yandex-team.ru> MFC after: 3 days
* Fix problem on Promise "mio" controllers and 48bit mode caused by last commitsos2005-08-221-0/+9
|
* Spell powersavesleep correctly.brian2005-08-222-2/+2
|
* When looking for new lines in diff output, grep for '^[>+]' instead ofcperciva2005-08-221-1/+1
| | | | | | | '^>', in order to catch both normal and unified diffs. Problem reported by: volker at vwsoft dot com via -stable MFC after: 3 days
* Most users probably aren't interested in locating 13000+ files namedcperciva2005-08-222-2/+2
| | | | | | | | [0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's indexing. Suggested by: silby MFC after: 3 days
* Change pmap_extract() and pmap_extract_and_hold() to use PG_FRAME ratheralc2005-08-221-2/+6
| | | | | | | | than ~PDRMASK to extract the physical address of a superpage from a PDE. The use of ~PDRMASK is problematic if the PDE has PG_NX set. Specifically, the PG_NX bit will be included in the physical address if ~PDRMASK is used. Reviewed by: peter
* SADB_UPDATE did not return an error when key length is invalid.ume2005-08-221-2/+2
| | | | Obtained from: KAME
* Add relationship between offence and beer.grog2005-08-221-0/+5
| | | | Submitted by: philip
* Turn off sampling modes on the AMD64 till the time I can track downjkoshy2005-08-221-0/+5
| | | | | | the reason for the double fault seen when sampling under load. MFC after: 3 days
* if_ral_pccard does not depend on pccard module directly, but ratherimp2005-08-221-1/+0
| | | | | | | depends, like all other pccard drivers, indirectly through kobj on pccard. Therefore, it is not appropriate to force pccard to be loaded when if_ral.ko is loaded. This makes it possible to load if_ral w/o loading pccard.ko on, eg, pci only systems.
* Set the mountpoint path in the superblock (fs_fsmnt) at mount-timessouhlal2005-08-211-1/+2
| | | | | so that it appears in the various messages (not cleanly unmounted, filesystem full, etc). This has been broken since rev 1.261.
* In ng_callout() assert that supplied arguments are non-NULL.glebius2005-08-211-3/+4
|
* Stop callout before freeing memory, so it won't panic from softclock.pjd2005-08-211-0/+4
| | | | | Reported by: Jonatan B <onatan@gmail.com> MFC after: 3 days
* Before freeing memory, assert that there is no pending callout.pjd2005-08-211-0/+1
| | | | MFC after: 3 days
* Don't set the COMPLETE flag in an inodedep structure before the relatedtegge2005-08-211-1/+1
| | | | inode has been written.
* By default, when doing crypto work in software, start as many threadspjd2005-08-212-6/+13
| | | | | | as we have active CPUs and bind each thread to its own CPU. MFC after: 3 days
* Remove stale comment (we now always start worker thread).pjd2005-08-211-5/+0
| | | | MFC after: 3 days
* mp_ncpus is always (properly) initialized, even on UP kernels, so just use it.pjd2005-08-211-5/+0
|
* Commit correct version of the change and note the name of the newandre2005-08-211-1/+1
| | | | | | sysctl: net.inet.icmp.quotelen and defaults to 8 bytes. Pointy hat to: andre
* Add a sysctl to change to length of the quotation of the originalandre2005-08-212-1/+17
| | | | | | | | | | | | packet in an ICMP reply. The minimum of 8 bytes is internally enforced. The maximum quotation is the remaining space in the reply mbuf. This option is added in response to the issues raised in I-D draft-gont-icmp-payload-00.txt. MFC after: 2 weeks Spnsored by: TCP/IP Optimizations Fundraise 2005
* Fix basic rates set for 802.11a/g operating modes. This can significantlydamien2005-08-212-22/+47
| | | | | | improve transfer rates in 802.11a/g. Fix IFS settings in ral(4) too. MFC after: 6 days
* Add an option to have ICMP replies to non-local packets generated withandre2005-08-212-1/+29
| | | | | | | | | | | the IP address the packet came through in. This is useful for routers to show in traceroutes the actual path a packet has taken instead of the possibly different return path. The new sysctl is named net.inet.icmp.reply_from_interface and defaults to off. MFC after: 2 weeks
* Enhanced WME (802.11e) support.damien2005-08-212-5/+65
|
* Remove the hack that varied the first character of the output file nametjr2005-08-212-15/+5
| | | | | | | | if none was specified on the command line. This is not permitted by POSIX, and no longer needed now that we have the -a option. PR: 85099 Submitted by: Toby Peterson (Apple Computer)
* Introduce pmap_pml4e_to_pdpe() and pmap_pdpe_to_pde() and use them to avoidalc2005-08-201-12/+28
| | | | | recomputation of the pml4e and pdpe in pmap_copy(), pmap_protect(), and pmap_remove().
* Silence "busy" warnings when unmounting devfs at system shutdown. Thisrwatson2005-08-201-6/+16
| | | | | | | | | | | | is a workaround for non-symetric teardown of the file systems at shutdown with respect to the mount order at boot. The proper long term fix is to properly detach devfs from the root mount before unmounting each, and should be implemented, but since the problem is non-harmful, this temporary band-aid will prevent false positive bug reports and unnecessary error output for 6.0-RELEASE. MFC after: 3 days Tested by: pav, pjd
* Back-out the change from revision 1.14 and allow for '/' in labels again.pjd2005-08-201-8/+0
| | | | | Convinced by: green, Gavin Atkinson, dougb, gordon MFC after: 1 day
* Add some necessary bits for upcoming 802.11e support:damien2005-08-203-64/+183
| | | | | | | | o management of multiple tx rings (up to 4) o setting of WME IE in association requests Some features are still missing though, like the possibility to override the default cwmin/cwmax/asfn values of each tx queues.
* Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and renamestefanf2005-08-2015-41/+32
| | | | | | | | | | it to __MINSIGSTKSZ. Define MINSIGSTKSZ in <sys/signal.h>. This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN in <pthread.h> (soon <limits.h>) without having to include the whole <sys/signal.h> header. Discussed with: bde
* Remove IEEE80211_C_WPA from capabilities flags. WPA support is not fullydamien2005-08-201-2/+1
| | | | | | implemented in ipw. MFC after: 1 week
* Export adapter's internal statistics sysctl even if IPW_DEBUG is not defined.damien2005-08-201-6/+0
| | | | MFC after: 1 week
* Export adapter's internal statistics sysctl even if IWI_DEBUG is not defined.damien2005-08-201-6/+0
| | | | MFC after: 1 week
* Don't automatically start scanning in if_init() if IEEE80211_ROAMING_MANUALdamien2005-08-203-12/+18
| | | | | | flag is set. MFC after: 1 week
* Remove a stale occurrence of 'alpha' in a comment.stefanf2005-08-201-1/+1
|
* Properly un-giant-trick the cdevsw in fini_cdevsw()phk2005-08-201-3/+7
| | | | Tripped over by: Huang wen hui <huang@gddsn.org.cn>
* Add a __packed keyword to g_eli_metadata struct definition, sopjd2005-08-201-1/+1
| | | | | | | | | | | sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Reported by: Michael Reifenberger <mike@Reifenberger.com> MFC after: 3 days
* Do not place paragraph information post-macro unless required by mdoc(7).trhodes2005-08-201-2/+2
|
* - Correctly parse output, when logging amount is limited in theglebius2005-08-201-7/+15
| | | | | | | | | | rule itself, not in verbose_limit sysctl. [1] - Do check rules, even if verbose_limit is set 0. Rules may have their own log limits. PR: conf/77929 Submitted by: Andriy Gapon [1] Reviewed by: matteo
* Fix the "unexpected operator" bug some people are seeing.netchild2005-08-201-2/+2
| | | | First noticed by: kris
* Remove reference to raid(4), the RAIDframe manual page, which wassimon2005-08-201-1/+0
| | | | | | | | deleted a while ago. PR: docs/85142 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> MFC after: 3 days
* Bail if interface is misspelled instead of falling out into theru2005-08-201-0/+2
| | | | | "all interfaces" mode. (Only works with -w, but still better than nothing.)
* Include <sys/types.h> and <limits.h> ourselves, don't assume they are includedstefanf2005-08-205-0/+5
| | | | | | | | | | through <pthread.h>. gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX
* Add missing brackets.davidxu2005-08-191-1/+1
| | | | Noticed by: stefanf@
* Allow to change number of iterations for PKCS#5v2. It can only be usedpjd2005-08-193-25/+85
| | | | | | when there is only one key set. MFC after: 3 days
* - Add a missing period.pjd2005-08-191-3/+3
| | | | | | - Fix number of spaces. MFC after: 3 days
* Move function for calculating number of bits into more central place.pjd2005-08-193-6/+14
| | | | | | I want to use it so more. MFC after: 3 days
OpenPOWER on IntegriCloud