| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. The static buffer that ping6(8) uses to hold the control data
it gets from recvmsg(2) is too small in some cases.
2. When it prints the extra header information it doesn't do
any checking to make sure the data it's printing is within
the bounds of the supplied buffer.
Fix this by:
o Increasing the buffer to hold extra headers to 10240 bytes (the minimum
according to RFC3542 sec. 20.1) and allocate it dynamically.
o In verbose mode, specify a warning if any control data from recvmsg(2)
was truncated because the buffer was too small.
o When printing the extra headers make sure not to overrun the buffer
boundaries.
Reviewed By: mlaier
PR: kern/99425
MFC After: 1 month
|
| |
|
|
|
|
|
| |
little bit and allows for direct dispatch of the doneq from certain
contexts that would otherwise face recursive locking problems.
|
|
|
|
|
| |
Approved by: delphij (mentor, implicit)
Forgotten by: stas ('a') and rafan ('j')
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and should only be applied on certain specific card / vendor, hence the
addition of ac97_getsubvendor().
- Fix low volume issue on several MSI laptops through ALC655 quirk.
Reported/Tested by: Christian Mueller
<raptor-freebsd-multimedia@xpls.de>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
- For ural(4):
o Fix node leakage in ural_start(), if ural_tx_mgt() fails.
o Fix mbuf leakage in ural_tx_{mgt,data}(), if usbd_transfer() fails.
o In ural_tx_{mgt,data}(), set ural_tx_data.{m,ni} to NULL, if
usbd_transfer() fails, so they will not be freed again in ural_stop().
Approved by: sam (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Removed free-oqueue cache.
- Fix counter for sq entries
- Increased the amount of information retained
on ASOC_TSN logging on the association.
- Made it so with the ASOC_TSN logging on
sending or recieving an abort we dump the log.
- Went through and added invariant's around some
panic's that needed them.
- decrements went to atomic_subtact_int instead of add -1
- Removed residual count increment that threw off a
strm oq count.
- Tracks and complaints if we don't have a LAST fragment and
clean up the sp structure.
- Track a new stat that counts number of abandoned msgs that
happen if you close without reading.
- Fix lookup of frag point to be aware of a 0 assoc-id.
Reviewed by: gnn
|
|
|
|
| |
don't program against our more restrictive behaviour.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Group mutexes used in hwpmc(4) into 3 "types" in the sense of
witness(4):
- leaf spin mutexes---only one of these should be held at a time,
so these mutexes are specified as belonging to a single witness
type "pmc-leaf".
- `struct pmc_owner' descriptors are protected by a spin mutex of
witness type "pmc-owner-proc". Since we call wakeup_one() while
holding these mutexes, the witness type of these mutexes needs
to dominate that of "sleepq chain" mutexes.
- logger threads use a sleep mutex, of type "pmc-sleep".
Submitted by: wkoszek (earlier patch)
|
|
|
|
| |
The correct format specifier for ssize_t is %zd.
|
|
|
|
| |
than a page size and nbytes=0.
|
|
|
|
|
|
|
| |
When nbytes=0, sendfile(2) should use file size. Because of the bug, it
was sending half of a file. The bug is that 'off' variable can't be used
for size calculation, because it changes inside the loop, so we should
use uap->offset instead.
|
|
|
|
|
|
|
|
|
| |
contigmalloc2() was always testing the first physical page for PG_ZERO,
not the current page of interest.
Submitted by: Michael Plass
PR: 81301
MFC after: 1 week
|
|
|
|
| |
Submitted by: Michael Plass
|
|
|
|
|
|
|
|
|
|
|
| |
gets a bogus irq storm detected when periodic daily kicks off at 3 am
and disconnects the disk. Change the print logic to print once per second
when the storm is occurring instead of only once. Otherwise, it appeared
that something else was causing the errors each night at 3 am since the
print only occurred the first time.
Reviewed by: jhb
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The support for RFC 2640 (UTF8) is optional and rudimentary.
The server just advertises its capability to handle UTF-8 file
names and relies on its own 8-bit cleanness, as well as on
the backward compatibility of UTF-8 with ASCII. So uploaded
files will have UTF-8 names, but the initial server contents
should be prepared in UTF-8 by hand, no on-the-fly conversion
of file names will be done.
PR: bin/111714
Submitted by: Zhang Weiwu <see email in the PR>
MFC after: 1 week
|
|
|
|
| |
Submitted by: Scot Hetzel (swhetzel at gmail dot com)
|
|
|
|
|
| |
internal bus_dmammem_alloc() for greater flexibility on setting up DMA /
page attributes.
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Scot Hetzel (swhetzel at gmail dot com)
|
| |
|
|
|
|
|
|
|
| |
While implementing import it became apparent that write as a mnemonic
is ambiguous and confusing.
MFC after: 8 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
on a snapshot directory:
- Remove PRIV_VFS_MOUNT check - regular users can mount snapshots
via lookups on snapshot directory.
- Reset mount credential to kcred, so user won't be able to unmount
the snapshot.
- Reset owner uid.
- Unlock vnode in case of a failure.
Reported by: simokawa
|
|
|
|
|
| |
want to do the check when snapshot is automatically mounted by an
unprivileged user doing lookup on a snapshot directory.
|
|
|
|
| |
Submitted by: rodrigc (BSD.include.dist).
|
|
|
|
|
|
| |
use it as a timecounter.
Sponsored by: Soekris Engineering
|
|
|
|
|
|
| |
Use correct type for write_text.
MFC after: 8 days
|
|
|
|
|
| |
Discussed in: -arch
MFC after: 8 days
|
| |
|
|
|
|
| |
couple of associated error checks.
|
|
|
|
|
| |
"tar -u" works again. Otherwise, "tar -u" wants to
treat every dir as new and re-adds it.
|
|
|
|
| |
dir names, so they match the names generated by 'find'.
|
|
|
|
|
|
|
|
|
|
| |
Previously whenever PROMISC mode turned on/off link renegotiation
occurs and it could resulted in network unavailability for serveral
seconds.(Depending on switch STP settings it could last several tens
seconds.)
Reported by: Prokofiev S.P. < proks AT logos DOT uptel DOT net >
Tested by: Prokofiev S.P. < proks AT logos DOT uptel DOT net >
|
|
|
|
| |
Sponsored by: Soekris Engineering
|
| |
|
|
|
|
| |
should really stop forgetting about that.
|
|
|
|
|
|
|
|
| |
This fixes stange panics when listing .zfs/snapshot/ directory for me.
Reported by: simokawa
Reported by: Johan Hendriks <Johan@double-l.nl>
- Hide cache_purge() under FREEBSD_NAMECACHE like in other files.
- Protect mnt_flag with mount interlock.
|
| |
|
|
|
|
|
|
|
|
| |
mapping the pages as UC (uncacheable) using pmap_change_attr().
MFC after: 1 week
Requested by: ariff
Reviewed by: scottl
|
|
|
|
|
|
|
| |
before the root is mounted is tricky and having it in /boot/ is not really
desire.
Reported by: Zephiris <zephiris@gmail.com>
|
| |
|
|
|
|
|
| |
Spotted by: Ivan Voras
MFC after: 1 week
|
|
|
|
| |
Requested by: ru
|
|
|
|
|
|
|
|
|
| |
to free the oldest entry in the current bucket row. The global
entry limit may be smaller than the bucket rows and their limit
combined however. Thus only try to free a syncache entry if we
found one in this bucket row.
Reported by: kris
|
|
|
|
|
|
|
| |
to move up the start address until the allocation succeeds. If the
alignment of the resource was 0, then the code would keep trying the same
request in an infinite loop and hang. Force the request to always move
start up by at least 1 byte each time through the loop.
|
|
|
|
|
| |
when integrated back into Perforce. This avoids unnecessary conflicts
during the loopback of files maintained in Perforce.
|