summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Add mcopywrap prototype to ip_compat.hguido2005-12-302-1/+1
| | | | Remove h323 proxy from ip_proxy (copyright issue)
* Resolve conflictsguido2005-12-3021-509/+916
|
* This commit was generated by cvs2svn to compensate for changes in r153872,guido2005-12-3013-64/+41
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import IP Filter version 4.1.10guido2005-12-3035-651/+1053
| |
* | Only decrement the max-src-conn counter for tcp connections that reachedmlaier2005-12-252-0/+8
| | | | | | | | | | | | | | | | | | | | | | "established" state. Similar to OpenBSD's rev. 1.499 by joel but not breaking ABI. Obtained from: OpenBSD (with changes) Reported by: Bruno Afonso MFC after: 3 days X-MFC: together with local_flags
* | Fix build after timeval.tv_sec changed from long to time_t.mlaier2005-12-251-2/+5
| |
* | Move PFSTATE_EXPIRING from sync_flags to a new local_flags. sync_flags hasmlaier2005-12-202-4/+6
| | | | | | | | | | | | | | | | | | special handling when zero. This caused no PFSYNC_ACT_DEL message and thus disfunction of pfflowd and state synchronisation in general. Discovered by: thompsa Good catch by: thompsa MFC after: 7 days
* | This commit was generated by cvs2svn to compensate for changes in r153200,obrien2005-12-074-630/+671
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Update the nForce MCP NIC bits. This is version 1.0-0310 23-Nov-2005.obrien2005-12-074-630/+671
| | |
* | | Fix -Wundef warnings found when compiling i386 LINT, GENERIC andru2005-12-055-0/+58
| | | | | | | | | | | | custom kernels.
* | | Fix -Wundef from compiling the amd64 LINT.ru2005-12-045-21/+26
| | |
* | | - Store pointer to the link-level address right in "struct ifnet"ru2005-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than in ifindex_table[]; all (except one) accesses are through ifp anyway. IF_LLADDR() works faster, and all (except one) ifaddr_byindex() users were converted to use ifp->if_addr. - Stop storing a (pointer to) Ethernet address in "struct arpcom", and drop the IFP2ENADDR() macro; all users have been converted to use IF_LLADDR() instead.
* | | - Make IFP2ENADDR() a pointer to IF_LLADDR() rather than anotherru2005-11-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | copy of Ethernet address. - Change iso88025_ifattach() and fddi_ifattach() to accept MAC address as an argument, similar to ether_ifattach(), to make this work.
* | | Move the cloned interface list management in to if_clone. For some drivers thethompsa2005-11-082-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | softc lists and associated mutex are now unused so these have been removed. Calling if_clone_detach() will now destroy all the cloned interfaces for the driver and in most cases is all thats needed to unload. Idea by: brooks Reviewed by: brooks
* | | This commit was generated by cvs2svn to compensate for changes in r152069,jkim2005-11-042-8/+5
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | - Fix more resource parsing problems. The previous commit was imcomplete.jkim2005-11-042-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix a typo in rsmisc.c and a style change for consistency. This patch will also appear in future ACPI-CA release. Submitted by: Robert Moore <robert dot moore at intel dot com> Tested by: ru
* | | | This commit was generated by cvs2svn to compensate for changes in r152058,njl2005-11-041-5/+3
|\ \ \ \ | |/ / / | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Account for the minimum resource size when parsing the end tag resourcenjl2005-11-041-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptor. This should fix the "memory modified after free" panics. This patch will appear in a future acpi-ca distribution. Submitted by: Robert Moore <robert.moore / intel.com> Tested by: Peter Holm
* | | | Fix build breakage on tinderbox.jkim2005-11-031-1/+1
| | | |
* | | | Update to reflect import of ACPI-CA 20051021 with includes fixupsjkim2005-11-011-27/+30
| | | |
* | | | Local change: remove unnecessary __cdecljkim2005-11-012-2/+2
| | | |
* | | | Local change: remove compilation warningsjkim2005-11-014-10/+10
| | | |
* | | | Fix conflicts from import of Intel ACPI-CA 20051021jkim2005-11-018-497/+968
| | | |
* | | | Unchanged files that are off the vendor branchjkim2005-11-0113-1679/+639
| | | |
* | | | This commit was generated by cvs2svn to compensate for changes in r151940,jkim2005-11-012-1/+3
|\ \ \ \ | |/ / / | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Fix few compilation problems on vendor branch.jkim2005-11-013-1/+6
| | | | | | | | | | | | | | | | These fixes will be submitted vendor.
* | | | This commit was generated by cvs2svn to compensate for changes in r151937,jkim2005-11-01175-14401/+22437
|\ \ \ \ | |/ / / | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Vendor import of Intel ACPI-CA 20051021jkim2005-11-01196-16596/+24058
| | | |
| * | | Remove old ACPICA files from the INTEL vendor branch. They were removedjhb2005-10-27141-84217/+0
| | | | | | | | | | | | | | | | | | | | from HEAD about 4 years ago when we started flattening out the ACPICA distribution.
* | | | Normalize a significant number of kernel malloc type names:rwatson2005-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Prefer '_' to ' ', as it results in more easily parsed results in memory monitoring tools such as vmstat. - Remove punctuation that is incompatible with using memory type names as file names, such as '/' characters. - Disambiguate some collisions by adding subsystem prefixes to some memory types. - Generally prefer lower case to upper case. - If the same type is defined in multiple architecture directories, attempt to use the same name in additional cases. Not all instances were caught in this change, so more work is required to finish this conversion. Similar changes are required for UMA zone names.
* | | | Add a commented out version of what was done for the r20041119sysinc import.obrien2005-10-241-0/+12
| | | |
* | | | Fix conflicts of import of Intel ACPI-CA 20041119 with system includes fixups.obrien2005-10-2418-71/+71
| | | |
* | | | This commit was generated by cvs2svn to compensate for changes in r151600,obrien2005-10-24112-378/+378
|\ \ \ \ | |/ / / | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Vendor import of Intel ACPI-CA 20041119 with system includes fixups.obrien2005-10-24130-449/+449
| | | |
* | | | In detach method, move if_free() after bus_teardown_intr().ru2005-10-131-1/+2
| | | |
* | | | Change the reference counting to count the number of cloned interfaces for eachthompsa2005-10-122-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cloner. This ensures that ifc->ifc_units is not prematurely freed in if_clone_detach() before the clones are destroyed, resulting in memory modified after free. This could be triggered with if_vlan. Assert that all cloners have been destroyed when freeing the memory. Change all simple cloners to destroy their clones with ifc_simple_destroy() on module unload so the reference count is properly updated. This also cleans up the interface destroy routines and allows future optimisation. Discussed with: brooks, pjd, -current Reviewed by: brooks
* | | | Fix "struct ifnet" leak if attach() fails in the middle.ru2005-09-161-0/+2
| | | |
* | | | Per a request from Nick Triantos of nVidia, nVidia's legal department askedobrien2005-09-112-0/+104
| | | | | | | | | | | | | | | | that we provide their license document beside their nForce MCP object code.
* | | | Stop leaking a lock. This used to cause a propagate_priority() page faultmlaier2005-09-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | when setting syncdev and syncpeer. Reported by: Dominic Marks
* | | | Unbreak the build. Committed from the wrong directory.mlaier2005-09-081-4/+5
| | | |
* | | | Commit imported changes to HEAD:mlaier2005-09-082-21/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pf_ioctl.c Revision 1.153 Sun Aug 7 11:37:33 2005 UTC by dhartmei | verify ticket in DIOCADDADDR, from Boris Polevoy, ok deraadt@ pf_ioctl.c Revision 1.158 Mon Sep 5 14:51:08 2005 UTC by dhartmei | in DIOCCHANGERULE, properly initialize table, if used in NAT rule. | from Boris Polevoy <vapcom at mail dot ru>, ok mcbride@ pf.c Revision 1.502 Mon Aug 22 11:54:25 2005 UTC by dhartmei | when nat'ing icmp 'connections', replace icmp id with proxy values | (similar to proxy ports for tcp/udp). not all clients use | per-invokation random ids, this allows multiple concurrent | connections from such clients. | thanks for testing to Rod Whitworth, "looks ok" markus@ pf.c Revision 1.501 Mon Aug 22 09:48:05 2005 UTC by dhartmei | fix rdr to bitmask replacement address pool. patch from Max Laier, | reported by Boris Polevoy, tested by Jean Debogue, ok henning@ Obtained from: OpenBSD MFC after: 3 days
* | | | Wrap the new world order in __FreeBSD__ to ease future imports.mlaier2005-08-092-0/+14
| | | |
* | | | Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE andrwatson2005-08-094-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days
* | | | Prevent a race condition. As pf_send_tcp() - called for expired synproxymlaier2005-07-202-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | states - has to drop the lock when calling back to ip_output(), the state purge timeout might run and gc the state. This results in a rb-tree inconsistency. With this change we flag expiring states while holding the lock and back off if the flag is already set. Reported by: glebius MFC after: 2 weeks
* | | | move RFC3542 related definitions into ip6.h.ume2005-07-201-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Reviewed by: mlaier Obtained from: KAME
* | | | Export pfsyncstats via sysctl "net.inet.pfsync" in order to print them withmlaier2005-07-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | netstat (seperate commit). Requested by: glebius MFC after: 1 week
* | | | Properly initialize ifq_maxlen for the defered send queue and make itmlaier2005-06-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actually work. Also use the right semantics for IF_HANDOFF to get correct stats. Reported and tested by: Sascha Luck <sascha at c4inet dot net> Approved by: re (blanket)
* | | | Fix some minor problems before release:darrenr2005-06-232-15/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) "ipf -T" is broken for fetching single entries and (2) loading rules with numbered collections does not order insertion right. (3) stats aren't accumulated for hash table memory failures Approved by: re (dwhite)
* | | | locking on exit of reading from ip_sync is not correct for all instancesdarrenr2005-06-141-4/+9
| | | | | | | | | | | | | | | | Approved by: re (dwhite)
* | | | Mark pf callouts as NET_MPSAFE.mlaier2005-06-122-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: yongari (serveral times) Approved by: re (blanket) MFC after: 1 week
OpenPOWER on IntegriCloud