Commit Graph

24 Commits

Author SHA1 Message Date
yamt fff57c5525 merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@.  requested by core@
2008-06-18 09:06:25 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
christos 168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
elad b8093b8985 Kill some KAUTH_GENERIC_ISSUSER. 2006-10-20 21:55:56 +00:00
peter 463fbff409 Only compile in pf specific code when pf is configured.
Fixes kernel build when ALTQ is configured and pf not.
2006-10-13 09:57:28 +00:00
peter dd191f37f3 Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
christos 4d595fd7b1 - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
ad 3029ac48c7 - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
christos fc6d984beb kauth fallout 2006-05-15 00:05:16 +00:00
elad 874fef3711 integrate kauth. 2006-05-14 21:19:33 +00:00
christos e41fa8a52e Complete the FREE -> free transition and add more NULL checks for malloc
returns. Although these cannot happen because M_WAITOK, the rest of the
code does them already, so this is good for consistency. From Mindaugas
2006-04-23 16:57:22 +00:00
christos d53df8e839 Use malloc/free instead of MALLOC/FREE and M_ZERO instead of memset. 2006-04-23 06:46:39 +00:00
perry 5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
perry 477853c351 nuke trailing whitespace 2005-02-26 22:58:54 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
christos 2cd9243922 - kill bzero/bcopy
- defopt stats and settings, removing their definitions from the files
- make code compile by eliminating multicharacter constants!?! and rearranging
  variable declarations so they are defined before used!?!
- help gcc with uninitialized variables
2003-11-09 22:11:12 +00:00
christos e1c163ef05 avoid name collision [class_stats] 2003-01-06 03:44:23 +00:00
itojun ea750a3018 sync with KAME.
- don't MALLOC() with M_WAITOK in the spl block.
  move the allocation before splnet().
- when we reset vt of a class, reset the runtime service curve as well.
- don't use max() to compare 64 bit values.
2002-05-18 22:53:25 +00:00
lukem a13b5687d9 add RCSIDs 2001-11-12 23:08:56 +00:00
itojun 8008d16e68 avoid divide-by-zero when the specified bandwidth is less than 8bps.
OpenBSD PR: kernel/2150
2001-10-26 04:59:18 +00:00
thorpej bf2dcec4f5 Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
thorpej 2dfc514990 Add NetBSD RCS IDs. 2000-12-14 08:49:49 +00:00
thorpej 68de460f39 Import ALTQ from KAME. 2000-12-14 08:42:28 +00:00