svn commit: r195634 - in head: . sys/netinet sys/sys

2009-07-12 Thread Lawrence Stewart
Author: lstewart Date: Sun Jul 12 09:14:28 2009 New Revision: 195634 URL: http://svn.freebsd.org/changeset/base/195634 Log: Pad the following TCP related structs to allow MFCs of upcoming features/fixes back to the 8 branch: tcp_var.h - struct sackhint - struct tcpcb - struct

svn commit: r195654 - in head: . sys/dev/cxgb/ulp/tom sys/netinet sys/sys

2009-07-13 Thread Lawrence Stewart
Author: lstewart Date: Mon Jul 13 11:51:02 2009 New Revision: 195654 URL: http://svn.freebsd.org/changeset/base/195654 Log: Replace struct tcpopt with a proxy toeopt struct in the TOE driver interface to the TCP syncache. This returns struct tcpopt to being private within the TCP

svn commit: r195655 - head/sys/netinet

2009-07-13 Thread Lawrence Stewart
Author: lstewart Date: Mon Jul 13 11:59:38 2009 New Revision: 195655 URL: http://svn.freebsd.org/changeset/base/195655 Log: Fix a race in the manipulation of the V_tcp_sack_globalholes global variable, which is currently not protected by any type of lock. When triggered, the bug would

svn commit: r195677 - head/sys/dev/cxgb/ulp/tom

2009-07-14 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 14 11:53:21 2009 New Revision: 195677 URL: http://svn.freebsd.org/changeset/base/195677 Log: Fix a buglet that slipped into r195654. My buildworld/buildkernel sanity check missed this because cxgb's TOM is currently commented out of the build system.

svn commit: r207223 - in head: share/man/man9 sys/kern sys/sys

2010-04-26 Thread Lawrence Stewart
-2010 The FreeBSD Foundation .\ All rights reserved. .\ +.\ Portions of this software were developed at the Centre for Advanced +.\ Internet Architectures, Swinburne University of Technology, Melbourne, +.\ Australia by Lawrence Stewart under sponsorship from the FreeBSD +.\ Foundation

svn commit: r209119 - head/sys/sys

2010-06-12 Thread Lawrence Stewart
Author: lstewart Date: Sun Jun 13 02:39:55 2010 New Revision: 209119 URL: http://svn.freebsd.org/changeset/base/209119 Log: Add a utility macro to simplify calculating an aggregate sum from a DPCPU counter variable. Sponsored by: FreeBSD Foundation Reviewed by: jhb, rpaulo, rwatson

Re: svn commit: r209116 - head/sys/dev/cxgb

2010-06-12 Thread Lawrence Stewart
Hi Navdeep, On 06/13/10 08:33, Navdeep Parhar wrote: Log: cxgb(4): add knob to get packet timestamps from the hardware. The T3 ASIC can provide an incoming packet's timestamp instead of its RSS hash. The timestamp is just a counter running off the card's clock. With a 175MHz

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:20, Gabor Kovesdan wrote: +/* + * Utility macros. + */ +#define DPCPU_SUM(n, var, sum) \ +do { \ + (sum) = 0; \ + u_int i; \ + CPU_FOREACH(i) \ + (sum) += (DPCPU_ID_PTR(i, n))-var; \ +} while (0) I'd suggest first swapping variable declaration and '(sum) = 0;'. Also using 'i'

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: Author: lstewart Date: Sun Jun 13 02:39:55 2010 New Revision: 209119 URL: http://svn.freebsd.org/changeset/base/209119 Log: Add a utility macro to simplify calculating

Re: svn commit: r209119 - head/sys/sys

2010-06-13 Thread Lawrence Stewart
On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: [snip] Modified: head/sys/sys/pcpu.h == --- head/sys/sys/pcpu.h Sun Jun 13 01:27:29 2010(r209118

Re: svn commit: r209119 - head/sys/sys

2010-06-14 Thread Lawrence Stewart
On 06/14/10 18:52, Kostik Belousov wrote: On Mon, Jun 14, 2010 at 11:52:49AM +1000, Lawrence Stewart wrote: On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39:55AM +, Lawrence Stewart wrote: [snip] Modified: head/sys/sys/pcpu.h

Re: svn commit: r209119 - head/sys/sys

2010-06-16 Thread Lawrence Stewart
On 06/14/10 20:43, Kostik Belousov wrote: On Mon, Jun 14, 2010 at 08:34:15PM +1000, Lawrence Stewart wrote: On 06/14/10 18:52, Kostik Belousov wrote: On Mon, Jun 14, 2010 at 11:52:49AM +1000, Lawrence Stewart wrote: On 06/13/10 20:10, Pawel Jakub Dawidek wrote: On Sun, Jun 13, 2010 at 02:39

Re: svn commit: r209119 - head/sys/sys

2010-06-17 Thread Lawrence Stewart
On 06/17/10 17:13, Kostik Belousov wrote: On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: On 06/14/10 20:43, Kostik Belousov wrote: [snip] Or, you could ditch the sum at all, indeed using ({}) and returning the result. __typeof is your friend to select proper type

svn commit: r209325 - head/sys/sys

2010-06-18 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 19 02:30:10 2010 New Revision: 209325 URL: http://svn.freebsd.org/changeset/base/209325 Log: - Rename the internal for loop iterator to _i to avoid potential shadowing of external variables named i. The _ prefix is reserved for infrastructure type code

Re: svn commit: r209158 - in head/contrib/wpa: hostapd hostapd/doc src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/hlr_auc_gw src/l2_packet src/radius s

2010-06-18 Thread Lawrence Stewart
Hi Rui, On 06/15/10 01:37, Rui Paulo wrote: Author: rpaulo Date: Mon Jun 14 15:37:48 2010 New Revision: 209158 URL: http://svn.freebsd.org/changeset/base/209158 Log: MFV hostapd wpa_supplicant 0.6.10. Added: [snip] head/contrib/wpa/hostapd/radiotap.h - copied unchanged from

Re: svn commit: r209119 - head/sys/sys

2010-06-18 Thread Lawrence Stewart
On 06/18/10 22:08, Robert Watson wrote: On Fri, 18 Jun 2010, Lawrence Stewart wrote: True but I figured on large SMP systems where the potential to process more is likely, 32bit counters per cpu may be enough to avoid overflow but the aggregate number of events may exceed a 32bit variable. I

Re: svn commit: r209158 - in head/contrib/wpa: hostapd hostapd/doc src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/hlr_auc_gw src/l2_packet src/radius s

2010-06-19 Thread Lawrence Stewart
On 06/19/10 19:56, Rui Paulo wrote: On 19 Jun 2010, at 03:54, Lawrence Stewart wrote: Hi Rui, On 06/15/10 01:37, Rui Paulo wrote: Author: rpaulo Date: Mon Jun 14 15:37:48 2010 New Revision: 209158 URL: http://svn.freebsd.org/changeset/base/209158 Log: MFV hostapd wpa_supplicant 0.6.10

Re: svn commit: r209158 - in head/contrib/wpa: hostapd hostapd/doc src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/hlr_auc_gw src/l2_packet src/radius s

2010-06-19 Thread Lawrence Stewart
On 06/20/10 05:22, Rui Paulo wrote: Lawrence, I don't see the point in enabling svn:keywords in vendor code. It's actually a good thing that radiotap.h doesn't get expanded. Rui, please accept my apologies. I *actually* understand the problem now as opposed to that lame 3am attempt earlier

svn commit: r209662 - in head: share/man/man4 sys/modules sys/modules/siftr sys/netinet

2010-07-03 Thread Lawrence Stewart
by Lawrence Stewart under sponsorship from the FreeBSD +.\ Foundation. +.\ +.\ Redistribution and use in source and binary forms, with or without +.\ modification, are permitted provided that the following conditions +.\ are met: +.\ 1. Redistributions of source code must retain the above copyright

svn commit: r209665 - head/share/man/man4

2010-07-03 Thread Lawrence Stewart
Author: lstewart Date: Sat Jul 3 15:05:14 2010 New Revision: 209665 URL: http://svn.freebsd.org/changeset/base/209665 Log: Hook the siftr.4 man page up to the build and alphabetically sort siis into its correct place whilst there. Sponsored by: FreeBSD Foundation Submitted by:

svn commit: r209783 - in stable/8/sys: kern modules modules/alq

2010-07-07 Thread Lawrence Stewart
== --- stable/8/sys/kern/kern_alq.cWed Jul 7 22:53:58 2010 (r209782) +++ stable/8/sys/kern/kern_alq.cThu Jul 8 02:35:37 2010 (r209783) @@ -1,7 +1,13 @@ /*- * Copyright (c) 2002, Jeffrey Roberson j...@freebsd.org + * Copyright (c) 2008-2009, Lawrence Stewart lstew

svn commit: r209784 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:41:55 2010 New Revision: 209784 URL: http://svn.freebsd.org/changeset/base/209784 Log: MFC r206026: - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy(). - Use the new alq_destroy() to properly handle a failure case in

svn commit: r209785 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:43:52 2010 New Revision: 209785 URL: http://svn.freebsd.org/changeset/base/209785 Log: MFC r206027: According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo,

svn commit: r209786 - stable/8/sys/kern

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 02:46:42 2010 New Revision: 209786 URL: http://svn.freebsd.org/changeset/base/209786 Log: MFC r206028: The ALQ should not be considered drained until it has been made inactive. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo,

svn commit: r209788 - in stable/8: share/man/man9 sys/kern sys/sys

2010-07-07 Thread Lawrence Stewart
, +.\ Australia by Lawrence Stewart under sponsorship from the FreeBSD +.\ Foundation. +.\ .\ Redistribution and use in source and binary forms, with or without .\ modification, are permitted provided that the following conditions .\ are met: @@ -25,21 +31,34 @@ .\ .\ $FreeBSD$ .\ -.Dd May 16

svn commit: r209790 - stable/8/sys/sys

2010-07-07 Thread Lawrence Stewart
Author: lstewart Date: Thu Jul 8 03:41:57 2010 New Revision: 209790 URL: http://svn.freebsd.org/changeset/base/209790 Log: MFC r209119,209325: - Add a utility macro to simplify calculating an aggregate sum from a DPCPU counter variable. - Rename the internal for loop iterator to

Re: svn commit: r209119 - head/sys/sys

2010-07-08 Thread Lawrence Stewart
On 06/18/10 11:57, Lawrence Stewart wrote: On 06/17/10 17:13, Kostik Belousov wrote: On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: On 06/14/10 20:43, Kostik Belousov wrote: [snip] Or, you could ditch the sum at all, indeed using ({}) and returning the result. __typeof

Re: svn commit: r209119 - head/sys/sys

2010-07-11 Thread Lawrence Stewart
On 07/11/10 18:24, Kostik Belousov wrote: On Fri, Jul 09, 2010 at 01:03:14PM +1000, Lawrence Stewart wrote: On 06/18/10 11:57, Lawrence Stewart wrote: On 06/17/10 17:13, Kostik Belousov wrote: On Thu, Jun 17, 2010 at 12:38:08PM +1000, Lawrence Stewart wrote: On 06/14/10 20:43, Kostik Belousov

svn commit: r209978 - head/sys/sys

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 06:49:34 2010 New Revision: 209978 URL: http://svn.freebsd.org/changeset/base/209978 Log: - Rename DPCPU_SUM to DPCPU_VARSUM to better reflect the fact it operates on member variables of a DPCPU struct. - Add DPCPU_SUM which sums a DPCPU variable.

svn commit: r209980 - head/sys/netinet

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 07:00:57 2010 New Revision: 209980 URL: http://svn.freebsd.org/changeset/base/209980 Log: Catch up with the rename of DPCPU_SUM to DPCPU_VARSUM in r209978. Sponsored by: FreeBSD Foundation Modified: head/sys/netinet/siftr.c Modified:

svn commit: r209981 - head/sys/sys

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 08:05:48 2010 New Revision: 209981 URL: http://svn.freebsd.org/changeset/base/209981 Log: Macro to simplify zeroing DPCPU variables. Sponsored by: FreeBSD Foundation MFC after:3 days Modified: head/sys/sys/pcpu.h Modified: head/sys/sys/pcpu.h

svn commit: r209982 - head/sys/netinet

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 08:23:46 2010 New Revision: 209982 URL: http://svn.freebsd.org/changeset/base/209982 Log: The SIFTR DPCPU statistics struct was not being zeroed between enable/disable cycles so the values would accumulate rather than reset for each cycle. Sponsored by:

svn commit: r209987 - head/sys/sys

2010-07-13 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 13 09:17:30 2010 New Revision: 209987 URL: http://svn.freebsd.org/changeset/base/209987 Log: - The sum variable used in DPCPU_SUM needs to be of the same type as the DPCPU variable, rather than a pointer to the type. - Zero # bytes equivalent to

svn commit: r210184 - head/sys/sys

2010-07-16 Thread Lawrence Stewart
Author: lstewart Date: Sat Jul 17 03:39:50 2010 New Revision: 210184 URL: http://svn.freebsd.org/changeset/base/210184 Log: Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR(). MFC after:3 days Modified: head/sys/sys/pcpu.h Modified: head/sys/sys/pcpu.h

svn commit: r210203 - head/sys/netinet

2010-07-17 Thread Lawrence Stewart
Author: lstewart Date: Sun Jul 18 05:09:10 2010 New Revision: 210203 URL: http://svn.freebsd.org/changeset/base/210203 Log: - Move common code from the hook functions that fills in a packet node struct to a separate inline function. This further reduces duplicate code that didn't have

svn commit: r210273 - stable/8/sys/sys

2010-07-19 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 20 00:46:18 2010 New Revision: 210273 URL: http://svn.freebsd.org/changeset/base/210273 Log: MFC r209978,209981,209987,210184: - Rename DPCPU_SUM to DPCPU_VARSUM to better reflect the fact it operates on member variables of a DPCPU struct (r209978).

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-18 Thread Lawrence Stewart
Hi Alexander and all, On 02/15/10 06:38, Alexander Motin wrote: Author: mav Date: Sun Feb 14 19:38:27 2010 New Revision: 203889 URL: http://svn.freebsd.org/changeset/base/203889 Log: MFC r203108: Large set of CAM improvements: [snip] I've been having issues with the mpt-driven LSI SAS

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-18 Thread Lawrence Stewart
Hi Matt, On 02/19/10 02:53, Matthew Jacob wrote: Just a total swag here, but reduce the openings via camcontrol to 32, or even 16 Thanks for the suggestion. camcontrol doesn't seem able to futz with the mpt controller e.g.: r...@server# camcontrol identify da0 -v (pass0:mpt0:0:2:0):

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-19 Thread Lawrence Stewart
On 02/19/10 19:50, Alexander Motin wrote: Lawrence Stewart wrote: On 02/19/10 02:53, Matthew Jacob wrote: Just a total swag here, but reduce the openings via camcontrol to 32, or even 16 Thanks for the suggestion. camcontrol doesn't seem able to futz with the mpt controller e.g.: r

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-21 Thread Lawrence Stewart
On 02/20/10 04:16, Alexander Motin wrote: Lawrence Stewart wrote: A couple of times it has gotten even more upset reporting things like this: mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x16 mpt0: request 0xff80002f1400:54058 timed out for ccb 0xff0001c65000 (req-ccb

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-21 Thread Lawrence Stewart
On 02/22/10 18:05, Alexander Motin wrote: Lawrence Stewart wrote: On 02/20/10 04:16, Alexander Motin wrote: Lawrence Stewart wrote: I compiled DDB into my r203889 kernel. Unfortunately my ILO emulates a USB keyboard so I can't do anything in DDB which is a huge pain, but here's the info I did

Re: svn commit: r204556 - in head: contrib/csup usr.bin/csup

2010-03-02 Thread Lawrence Stewart
On 03/02/10 18:26, Ulf Lilleengen wrote: Author: lulf Date: Tue Mar 2 07:26:07 2010 New Revision: 204556 URL: http://svn.freebsd.org/changeset/base/204556 Log: - Move csup away from contrib/ and into usr.bin/. Software is no longer contributed, and main development is happening in the

svn commit: r205959 - in head/sys: kern modules modules/alq

2010-03-30 Thread Lawrence Stewart
== --- head/sys/kern/kern_alq.cWed Mar 31 03:20:14 2010(r205958) +++ head/sys/kern/kern_alq.cWed Mar 31 03:58:57 2010(r205959) @@ -1,7 +1,13 @@ /*- * Copyright (c) 2002, Jeffrey Roberson j...@freebsd.org + * Copyright (c) 2008-2009, Lawrence Stewart lstew

svn commit: r206026 - head/sys/kern

2010-03-31 Thread Lawrence Stewart
Author: lstewart Date: Thu Apr 1 01:16:00 2010 New Revision: 206026 URL: http://svn.freebsd.org/changeset/base/206026 Log: - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy(). - Use the new alq_destroy() to properly handle a failure case in alq_open().

svn commit: r206027 - head/sys/kern

2010-03-31 Thread Lawrence Stewart
Author: lstewart Date: Thu Apr 1 01:23:36 2010 New Revision: 206027 URL: http://svn.freebsd.org/changeset/base/206027 Log: According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a

svn commit: r206028 - head/sys/kern

2010-03-31 Thread Lawrence Stewart
Author: lstewart Date: Thu Apr 1 01:27:10 2010 New Revision: 206028 URL: http://svn.freebsd.org/changeset/base/206028 Log: The ALQ should not be considered drained until it has been made inactive. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of

svn commit: r186472 - svnadmin/conf

2008-12-23 Thread Lawrence Stewart
Author: lstewart Date: Wed Dec 24 04:42:13 2008 New Revision: 186472 URL: http://svn.freebsd.org/changeset/base/186472 Log: There are some phat diffs going into head... Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r187289 - in head: . sys/netinet sys/sys

2009-01-14 Thread Lawrence Stewart
Author: lstewart Date: Thu Jan 15 06:44:22 2009 New Revision: 187289 URL: http://svn.freebsd.org/changeset/base/187289 Log: Add TCP Appropriate Byte Counting (RFC 3465) support to kernel. The new behaviour is on by default, and can be disabled by setting the net.inet.tcp.rfc3465 sysctl

svn commit: r250951 - head/sys/kern

2013-05-23 Thread Lawrence Stewart
Author: lstewart Date: Fri May 24 00:49:12 2013 New Revision: 250951 URL: http://svnweb.freebsd.org/changeset/base/250951 Log: Ensure alq's shutdown_pre_sync event handler is deregistered on module unload to avoid a dangling pointer and eventual panic on system shutdown. Reported by:

Re: svn commit: r251297 - head/sys/dev/xen/netfront

2013-06-05 Thread Lawrence Stewart
On 06/03/13 23:00, Andre Oppermann wrote: Author: andre Date: Mon Jun 3 13:00:33 2013 New Revision: 251297 URL: http://svnweb.freebsd.org/changeset/base/251297 Log: Specify a maximum TSO length limiting the segment chain to what the Xen host side can handle after defragmentation.

svn commit: r251725 - head/sys/kern

2013-06-13 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 14 02:25:40 2013 New Revision: 251725 URL: http://svnweb.freebsd.org/changeset/base/251725 Log: Fix a potential NULL-pointer dereference that would trigger if the hhook registration site did not provide storage for a copy of the hhook_head struct. MFC

svn commit: r251732 - in head/sys: kern sys

2013-06-13 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 14 04:10:34 2013 New Revision: 251732 URL: http://svnweb.freebsd.org/changeset/base/251732 Log: Add support for non-virtualised hhook points, which are uniquely identified by type and id, as compared to virtualised hook points which are now uniquely identified

svn commit: r251752 - head/sys/kern

2013-06-14 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 14 18:11:21 2013 New Revision: 251752 URL: http://svnweb.freebsd.org/changeset/base/251752 Log: Fix a major oversight in r251732 which causes non-VIMAGE kernels to trigger a KASSERT during TCP hhook registration at boot. Virtualised hook points only require

svn commit: r251770 - in head/sys: kern sys

2013-06-14 Thread Lawrence Stewart
== --- head/sys/kern/kern_hhook.c Sat Jun 15 03:55:04 2013(r251769) +++ head/sys/kern/kern_hhook.c Sat Jun 15 04:03:40 2013(r251770) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2010 Lawrence Stewart lstew...@freebsd.org + * Copyright (c) 2010,2013

svn commit: r251774 - head/sys/kern

2013-06-14 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 15 05:57:29 2013 New Revision: 251774 URL: http://svnweb.freebsd.org/changeset/base/251774 Log: Add a private KPI between hhook and khelp that allows khelp modules to insert hook functions into hhook points which register after the modules were loaded -

svn commit: r251778 - head/sys/kern

2013-06-15 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 15 06:45:17 2013 New Revision: 251778 URL: http://svnweb.freebsd.org/changeset/base/251778 Log: Cleanup and simplification in khelp_{register|deregister}_helper(). No functional changes. MFC after:1 week Modified: head/sys/kern/kern_khelp.c

svn commit: r251787 - head/sys/kern

2013-06-15 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 15 10:08:34 2013 New Revision: 251787 URL: http://svnweb.freebsd.org/changeset/base/251787 Log: Move hhook's per-vnet initialisation to an earlier SYSINIT SI_SUB stage to ensure all per-vnet related hhook initialisation is completed prior to any virtualised

svn commit: r251789 - head/sys/sys

2013-06-15 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 15 10:38:31 2013 New Revision: 251789 URL: http://svnweb.freebsd.org/changeset/base/251789 Log: Now that the necessary infrastructure is in place to ensure hhook points which register after a khelp module will get hooked, move khelp module initialisation to

svn commit: r251838 - head/sys/kern

2013-06-17 Thread Lawrence Stewart
Author: lstewart Date: Mon Jun 17 09:49:07 2013 New Revision: 251838 URL: http://svnweb.freebsd.org/changeset/base/251838 Log: The fix committed in r250951 replaced the reported panic with a deadlock... gold star for me. EVENTHANDLER_DEREGISTER() attempts to acquire the lock which is held

svn commit: r251887 - in head: share/man/man3 sys/sys

2013-06-17 Thread Lawrence Stewart
Author: lstewart Date: Tue Jun 18 02:57:56 2013 New Revision: 251887 URL: http://svnweb.freebsd.org/changeset/base/251887 Log: Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can optionally start the traversal from a previously found element by passing the element in as

svn commit: r251984 - head/sys/kern

2013-06-18 Thread Lawrence Stewart
Author: lstewart Date: Wed Jun 19 03:08:01 2013 New Revision: 251984 URL: http://svnweb.freebsd.org/changeset/base/251984 Log: When a previous call to sbsndptr() leaves sb-sb_sndptroff at the start of an mbuf that was fully consumed by the previous call, the mbuf ptr returned by the

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-20 Thread Lawrence Stewart
Hi Kostik, On 06/21/13 00:30, Konstantin Belousov wrote: Author: kib Date: Thu Jun 20 14:30:04 2013 New Revision: 252032 URL: http://svnweb.freebsd.org/changeset/base/252032 Log: Allow immediate operand. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r252052 - head/share/man/man9

2013-06-20 Thread Lawrence Stewart
15, 2011 +.Dd June 21, 2013 .Dt HHOOK 9 .Os .Sh NAME @@ -380,9 +380,3 @@ This manual page was written by .An David Hayes Aq david.ha...@ieee.org and .An Lawrence Stewart Aq lstew...@freebsd.org . -.Sh BUGS -The framework does not currently support registering hook points in subsystems -which

svn commit: r252323 - stable/9/sys/kern

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 02:38:33 2013 New Revision: 252323 URL: http://svnweb.freebsd.org/changeset/base/252323 Log: MFC r250951,251838: Ensure alq's shutdown_pre_sync event handler is deregistered on module unload to avoid a dangling pointer and eventual panic on system

svn commit: r252324 - stable/8/sys/kern

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 03:04:07 2013 New Revision: 252324 URL: http://svnweb.freebsd.org/changeset/base/252324 Log: MFC r250951,251838: Ensure alq's shutdown_pre_sync event handler is deregistered on module unload to avoid a dangling pointer and eventual panic on system

svn commit: r252326 - stable/9/sys/sys

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 03:22:43 2013 New Revision: 252326 URL: http://svnweb.freebsd.org/changeset/base/252326 Log: MFC r251682: Remove some duplicate code by making KHELP_DECLARE_MOD() a wrapper around KHELP_DECLARE_MOD_UMA(). Modified: stable/9/sys/sys/module_khelp.h

svn commit: r252327 - stable/8/sys/sys

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 03:23:24 2013 New Revision: 252327 URL: http://svnweb.freebsd.org/changeset/base/252327 Log: MFC r251682: Remove some duplicate code by making KHELP_DECLARE_MOD() a wrapper around KHELP_DECLARE_MOD_UMA(). Modified: stable/8/sys/sys/module_khelp.h

svn commit: r252328 - stable/9/sys/kern

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 03:39:54 2013 New Revision: 252328 URL: http://svnweb.freebsd.org/changeset/base/252328 Log: MFC r251725: Fix a potential NULL-pointer dereference that would trigger if the hhook registration site did not provide storage for a copy of the hhook_head

svn commit: r252329 - stable/8/sys/kern

2013-06-27 Thread Lawrence Stewart
Author: lstewart Date: Fri Jun 28 03:41:23 2013 New Revision: 252329 URL: http://svnweb.freebsd.org/changeset/base/252329 Log: MFC r251725: Fix a potential NULL-pointer dereference that would trigger if the hhook registration site did not provide storage for a copy of the hhook_head

svn commit: r252365 - in stable/9: share/man/man3 sys/sys

2013-06-28 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 29 04:25:40 2013 New Revision: 252365 URL: http://svnweb.freebsd.org/changeset/base/252365 Log: MFC r251887: Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can optionally start the traversal from a previously found element by passing the

svn commit: r252366 - in stable/8: share/man/man3 sys/sys

2013-06-28 Thread Lawrence Stewart
Author: lstewart Date: Sat Jun 29 04:27:04 2013 New Revision: 252366 URL: http://svnweb.freebsd.org/changeset/base/252366 Log: MFC r251887: Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can optionally start the traversal from a previously found element by passing the

svn commit: r252504 - in head: share/man/man4 sys/modules/cc sys/modules/cc/cc_cdg sys/netinet/cc

2013-07-02 Thread Lawrence Stewart
for +Advanced Internet Architectures, Melbourne, Australia. +More details are available at: +.Pp +http://caia.swin.edu.au/urp/newtcp/ +.Sh AUTHORS +.An -nosplit +The +.Nm +congestion control module was written by +.An David Hayes Aq david.ha...@ieee.org . +This manual page was written by +.An Lawrence

svn commit: r252532 - stable/9/sys/kern

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 03:36:36 2013 New Revision: 252532 URL: http://svnweb.freebsd.org/changeset/base/252532 Log: When a previous call to sbsndptr() leaves sb-sb_sndptroff at the start of an mbuf that was fully consumed by the previous call, the mbuf ptr returned by the

svn commit: r252533 - stable/8/sys/kern

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 03:40:06 2013 New Revision: 252533 URL: http://svnweb.freebsd.org/changeset/base/252533 Log: When a previous call to sbsndptr() leaves sb-sb_sndptroff at the start of an mbuf that was fully consumed by the previous call, the mbuf ptr returned by the

svn commit: r252534 - in stable/9/sys: kern sys

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 04:20:36 2013 New Revision: 252534 URL: http://svnweb.freebsd.org/changeset/base/252534 Log: MFC r251732,251752: Add support for non-virtualised hhook points, which are uniquely identified by type and id, as compared to virtualised hook points which are

svn commit: r252535 - in stable/8/sys: kern sys

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 04:21:29 2013 New Revision: 252535 URL: http://svnweb.freebsd.org/changeset/base/252535 Log: MFC r251732,251752: Add support for non-virtualised hhook points, which are uniquely identified by type and id, as compared to virtualised hook points which are

Re: svn commit: r252532 - stable/9/sys/kern

2013-07-02 Thread Lawrence Stewart
On 07/03/13 13:36, Lawrence Stewart wrote: Author: lstewart Date: Wed Jul 3 03:36:36 2013 New Revision: 252532 URL: http://svnweb.freebsd.org/changeset/base/252532 Log: MFC r251984: When a previous call to sbsndptr() leaves sb-sb_sndptroff at the start of an mbuf

Re: svn commit: r252533 - stable/8/sys/kern

2013-07-02 Thread Lawrence Stewart
On 07/03/13 13:40, Lawrence Stewart wrote: Author: lstewart Date: Wed Jul 3 03:40:06 2013 New Revision: 252533 URL: http://svnweb.freebsd.org/changeset/base/252533 Log: MFC r251984: When a previous call to sbsndptr() leaves sb-sb_sndptroff at the start of an mbuf

svn commit: r252536 - in stable/9/sys: kern sys

2013-07-02 Thread Lawrence Stewart
(r252536) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2010 Lawrence Stewart lstew...@freebsd.org + * Copyright (c) 2010,2013 Lawrence Stewart lstew...@freebsd.org * Copyright (c) 2010 The FreeBSD Foundation * All rights reserved. * @@ -69,6 +69,9 @@ static struct mtx hhook_head_list_lock; MTX_SYSINIT

svn commit: r252537 - in stable/8/sys: kern sys

2013-07-02 Thread Lawrence Stewart
Wed Jul 3 05:29:21 2013 (r252537) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2010 Lawrence Stewart lstew...@freebsd.org + * Copyright (c) 2010,2013 Lawrence Stewart lstew...@freebsd.org * Copyright (c) 2010 The FreeBSD Foundation * All rights reserved. * @@ -69,6 +69,9 @@ static struct

svn commit: r252538 - stable/8/sys/kern

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 05:47:28 2013 New Revision: 252538 URL: http://svnweb.freebsd.org/changeset/base/252538 Log: MFC r251774: Add a private KPI between hhook and khelp that allows khelp modules to insert hook functions into hhook points which register after the modules were

svn commit: r252539 - stable/9/sys/kern

2013-07-02 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 05:48:46 2013 New Revision: 252539 URL: http://svnweb.freebsd.org/changeset/base/252539 Log: MFC r251774: Add a private KPI between hhook and khelp that allows khelp modules to insert hook functions into hhook points which register after the modules were

svn commit: r252541 - stable/9/sys/kern

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 05:58:51 2013 New Revision: 252541 URL: http://svnweb.freebsd.org/changeset/base/252541 Log: MFC r251778: Cleanup and simplification in khelp_{register|deregister}_helper(). No functional changes. Modified: stable/9/sys/kern/kern_khelp.c Directory

svn commit: r252542 - stable/8/sys/kern

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 05:59:48 2013 New Revision: 252542 URL: http://svnweb.freebsd.org/changeset/base/252542 Log: MFC r251778: Cleanup and simplification in khelp_{register|deregister}_helper(). No functional changes. Modified: stable/8/sys/kern/kern_khelp.c Directory

svn commit: r252543 - stable/9/sys/kern

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 06:20:47 2013 New Revision: 252543 URL: http://svnweb.freebsd.org/changeset/base/252543 Log: MFC r251787: Move hhook's per-vnet initialisation to an earlier SYSINIT SI_SUB stage to ensure all per-vnet related hhook initialisation is completed prior to

svn commit: r252544 - stable/8/sys/kern

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 06:23:46 2013 New Revision: 252544 URL: http://svnweb.freebsd.org/changeset/base/252544 Log: MFC r251787: Move hhook's per-vnet initialisation to an earlier SYSINIT SI_SUB stage to ensure all per-vnet related hhook initialisation is completed prior to

svn commit: r252549 - stable/9/sys/sys

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 07:57:22 2013 New Revision: 252549 URL: http://svnweb.freebsd.org/changeset/base/252549 Log: MFC r251789: Now that the necessary infrastructure is in place to ensure hhook points which register after a khelp module will get hooked, move khelp module

svn commit: r252550 - stable/8/sys/sys

2013-07-03 Thread Lawrence Stewart
Author: lstewart Date: Wed Jul 3 07:58:14 2013 New Revision: 252550 URL: http://svnweb.freebsd.org/changeset/base/252550 Log: MFC r251789: Now that the necessary infrastructure is in place to ensure hhook points which register after a khelp module will get hooked, move khelp module

svn commit: r252551 - stable/9/share/man/man9

2013-07-03 Thread Lawrence Stewart
Wed Jul 3 08:20:40 2013 (r252551) @@ -30,7 +30,7 @@ .\ .\ $FreeBSD$ .\ -.Dd February 15, 2011 +.Dd June 21, 2013 .Dt HHOOK 9 .Os .Sh NAME @@ -380,9 +380,3 @@ This manual page was written by .An David Hayes Aq david.ha...@ieee.org and .An Lawrence Stewart Aq lstew

svn commit: r252552 - stable/8/share/man/man9

2013-07-03 Thread Lawrence Stewart
Wed Jul 3 08:21:05 2013 (r252552) @@ -30,7 +30,7 @@ .\ .\ $FreeBSD$ .\ -.Dd February 15, 2011 +.Dd June 21, 2013 .Dt HHOOK 9 .Os .Sh NAME @@ -380,9 +380,3 @@ This manual page was written by .An David Hayes Aq david.ha...@ieee.org and .An Lawrence Stewart Aq lstew

svn commit: r247906 - head/sys/netinet

2013-03-06 Thread Lawrence Stewart
Author: lstewart Date: Thu Mar 7 04:42:20 2013 New Revision: 247906 URL: http://svnweb.freebsd.org/changeset/base/247906 Log: The hashmask returned by hashinit() is a valid index in the returned hash array. Fix a siftr(4) potential memory leak and INVARIANTS triggered kernel panic in

svn commit: r248150 - stable/8/sys/netinet

2013-03-11 Thread Lawrence Stewart
Author: lstewart Date: Mon Mar 11 08:21:43 2013 New Revision: 248150 URL: http://svnweb.freebsd.org/changeset/base/248150 Log: MFC r247906: The hashmask returned by hashinit() is a valid index in the returned hash array. Fix a siftr(4) potential memory leak and INVARIANTS triggered

svn commit: r250140 - stable/9/sys/netinet

2013-05-01 Thread Lawrence Stewart
Author: lstewart Date: Wed May 1 08:53:40 2013 New Revision: 250140 URL: http://svnweb.freebsd.org/changeset/base/250140 Log: MFC r245783: Simplify and fix a bug in cc_ack_received()'s are we congestion window limited logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd

svn commit: r250141 - stable/8/sys/netinet

2013-05-01 Thread Lawrence Stewart
Author: lstewart Date: Wed May 1 08:57:45 2013 New Revision: 250141 URL: http://svnweb.freebsd.org/changeset/base/250141 Log: MFC r245783: Simplify and fix a bug in cc_ack_received()'s are we congestion window limited logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd

Re: svn commit: r239382 - in head/etc: defaults rc.d

2012-10-02 Thread Lawrence Stewart
Hi Jun, On 08/19/12 18:15, Jun Kuriyama wrote: Author: kuriyama Date: Sun Aug 19 08:15:32 2012 New Revision: 239382 URL: http://svn.freebsd.org/changeset/base/239382 Log: - Allow to pass extra parameters for each jails. - To achieve above, convert jail(8) invocation to use new style

Re: svn commit: r232059 - in head: sys/fs/devfs sys/fs/nullfs sys/kern sys/sys usr.sbin/jail

2012-10-02 Thread Lawrence Stewart
Hi Martin, On 02/24/12 05:51, Martin Matuska wrote: Author: mm Date: Thu Feb 23 18:51:24 2012 New Revision: 232059 URL: http://svn.freebsd.org/changeset/base/232059 Log: To improve control over the use of mount(8) inside a jail(8), introduce a new jail parameter node with the following

svn commit: r238345 - head/lib/libc/sys

2012-07-10 Thread Lawrence Stewart
Author: lstewart Date: Tue Jul 10 08:31:28 2012 New Revision: 238345 URL: http://svn.freebsd.org/changeset/base/238345 Log: Move the ffclock symbols from FBSD_1.2 to FBSD_1.3 where they should have been put initially. They were added to head during development of 10-CURRENT, not 9-CURRENT.

svn commit: r239346 - head/sys/netinet/khelp

2012-08-16 Thread Lawrence Stewart
Author: lstewart Date: Fri Aug 17 01:49:51 2012 New Revision: 239346 URL: http://svn.freebsd.org/changeset/base/239346 Log: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of ticks. The h_ertt(4)

svn commit: r239474 - stable/9/sys/netinet/khelp

2012-08-20 Thread Lawrence Stewart
Author: lstewart Date: Tue Aug 21 02:17:06 2012 New Revision: 239474 URL: http://svn.freebsd.org/changeset/base/239474 Log: MFC r239346: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of

svn commit: r239475 - stable/8/sys/netinet/khelp

2012-08-20 Thread Lawrence Stewart
Author: lstewart Date: Tue Aug 21 02:52:25 2012 New Revision: 239475 URL: http://svn.freebsd.org/changeset/base/239475 Log: MFC r239346: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of

  1   2   3   4   >