| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| | |
- Remove NULL checking on snd_mtxcreate() (M_WAITOK) .
|
| |
| |
| |
| |
| |
| |
| |
| | |
cache coherency, besides of causing train wreck in other places
(especially on amd64, possibly on i386).
Discussed with: kib@, rafan@
Tested by: rafan@
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
confusions and panic provided that the following conditions are met:
1) WITNESS is enabled (watch/trace).
2) Using modules, instead of statically linked (Not a strict
requirement, but easier to reproduce this way).
3) 2 or more modules share the same mtx type ("sound softc").
- They might share the same name (strcmp() == 0), but it always
point to different address.
4) Repetitive kldunload/load on any module that shares the same mtx
type (Not a strict requirement, but easier to reproduce this way).
Consider module A and module B:
- From enroll() - subr_witness.c:
* Load module A. Everything seems fine right now.
wA-w_refcount == 1 ; wA-w_name = "sound softc"
* Load module B.
* w->w_name == description will always fail.
("sound softc" from A and B point to different address).
* wA->w_refcount > 0 && strcmp(description, wA->w_name) == 0
* enroll() will return wA instead of returning (possibly unique)
wB.
wA->w_refcount++ , == 2.
* Unload module A, mtx_destroy(), wA->w_name become invalid,
but wA->w_refcount-- become 1 instead of 0. wA will not be
removed from witness list.
* Some other places call mtx_init(), iterating witness list,
found wA, failed on wA->w_name == description
* wA->w_refcount > 0 && strcmp(description, wA->w_name)
* Panic on strcmp() since wA->w_name no longer point to valid
address.
Note that this could happened in other places as well, not just sound
(eg. consider lots of drivers that share simmilar MTX_NETWORK_LOCK).
Solutions (for sound case):
1) Provide unique mtx type string for each mutex creation (chosen)
or
2) Put "sound softc" global variable somewhere and use it.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and syncache_respond() into its own generic function tcp_addoptions().
tcp_addoptions() is alignment agnostic and does optimal packing in all cases.
In struct tcpopt rename to_requested_s_scale to just to_wscale.
Add a comment with quote from RFC1323: "The Window field in a SYN (i.e.,
a <SYN> or <SYN,ACK>) segment itself is never scaled."
Reviewed by: silby, mohans, julian
Sponsored by: TCP/IP Optimization Fundraise 2005
|
| |
| |
| |
| | |
(I'll fix other places later..)
|
| | |
|
| |
| |
| |
| |
| | |
MFC: after 3 days
PR: kern/93083
|
| |
| |
| |
| |
| |
| |
| | |
This will fix 'NMI RAM parity error' while booting on some machines.
PR: kern/95077
MFC after: 3 days
|
| |
| |
| |
| |
| | |
Add a diagnostic message to the function about resizing vlan
hash table.
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- moved away from ifn/ifa access to sctp_ifa/sctp_ifn
built and managed by the add-ip code.
- cleaned up add-ip code to use the iterator
- made iterator be a thread, which enables auto-asconf now.
- rewrote and cleaned up source address selection (also
made it use new structures).
- Fixed a couple of memory leaks.
- DACK now settable as to how many packets to delay as
well as time.
- connectx() to latest socket API, new associd arg.
- Fixed issue with revoking and loosing potential to
send when we inflate the flight size. We now inflate
the cwnd too and deflate it later when the revoked
chunk is sent or acked.
- Got rid of some temp debug code
- src addr selection moved to a common file (sctp_output.c)
- Support for simple VRF's (we have support for multi-vfr
via compile switch that is scrubbed from BSD but we won't
need multi-vrf until we first get VRF :-D)
- Rest of mib work for address information now done
- Limit number of addresses in INIT/INIT-ACK to
a #def (30).
Reviewed by: gnn
|
| |
| |
| |
| |
| |
| |
| | |
not individual types.
Submitted by: Bryan Venteicher <bryanv at daemoninthecloset dot org>
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
affecting the return value from bsdtar), since (a) it usually occurs
due to a perfectly innocent (and unavoidable) race condition where a
user deletes a file in the window between bsdtar reading a directory
and attempting to read the file; and (b) aside from printing a warning
message, bsdtar behaves exactly as if the file had been deleted prior
to bsdtar reading its parent directory.
Reviewed by: kientzle
MFC after: 6 days
|
| |
| |
| |
| | |
arguments.
|
| |
| |
| |
| | |
is within the locally scoped multicast range 224.0.0.0/24.
|
| |
| |
| |
| | |
cam_periph_acquire.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
It isn't relevant to FreeBSD as a whole, breaks the build, and isn't
even needed for my company's boards anymore...
MFC After: 2 weeks
|
| |
| |
| |
| | |
Reported by: Ivan Voras <ivoras fer hr>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
boot. Then, just switch to the kernel pmap when suspending instead of
allocating/freeing our own mapping every time. This should solve a panic
of pmap_remove() being called with interrupts disabled. Thanks to Alan
Cox for developing this patch.
Note: this means that ACPI requires super page (PG_PS) support in the CPU.
This has been present since the Pentium and first documented in the
Pentium Pro. However, it may need to be revisited later.
Submitted by: alc
MFC after: 1 month
|
| |
| |
| |
| |
| |
| | |
Updated release notes: KDE updated to 3.5.6, GNOME updated to 2.16.3
Also moved cxgb(4) entry to the right place and fixed another entity.
|
| |
| |
| |
| | |
While here, fix an entity.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
acpi module. Also clean up print of args a little.
This was accidentally committed as 1.9.2.3 in the stable branch. Since it
is harmless, I will let the "insta-MFC" stand unless there is a problem.
|
| |
| |
| |
| | |
checking privilege.
|
| |
| |
| |
| |
| |
| |
| |
| | |
the alternate status and the control registers. Remove the local
version of ata_reset.
Add support for the ADI Pronghorn Metro boards. They use CS3 and CS4
instead of Avila's CS1 and CS2.
|
| |
| |
| |
| | |
the regression suite.
|
| |
| |
| |
| |
| |
| | |
the regression suite.
Copied-by: simon@
|
| |
| |
| |
| | |
broken ld.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the alternate status and the control registers. Remove the local
version of ata_reset.
Add support for the ADI Pronghorn Metro boards. They use CS3 and CS4
instead of Avila's CS1 and CS2.
OKed by: sam, cognet
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
and so reduce code duplication a bit.
|
| |
| |
| |
| | |
into the regression testing framework.
|
| | |
|
| |
| |
| |
| |
| | |
Submitted by: Aniruddha Bohra
MFC after: 5 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
prison_priv_check() to decide what to do.
This change is suppose not to change current (security) behaviour
in any way.
Reviewed by: rwatson
|
| |
| |
| |
| | |
testing framework and protocol.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I have verified these with GNU sed 4.1.5 (and in some cases with Solaris
sed) and they are identical, with the following exceptions:
5.3: The result is unspecified and BSD sed behaves differently.
6.3: GNU sed gets it wrong
7.1: GNU sed gets it wrong
7.8: BSD sed gets it wrong
|
| |
| |
| |
| |
| | |
- Update platform-conditional tests to reflect current reality
- Fix conditional for test 7.8: it is the fault of BSD sed
|
| | |
|