| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fix problems with some BIOSes.
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: avg
MFC after: 3 days
|
|
|
|
|
|
|
| |
Use only this stored inp when processing a HB timeout.
This fixes a bug which results in a crash.
MFC after: 3 days.
|
|
|
|
| |
like in the header file)
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
separate config option, which was missed in r226154.
|
| |
|
|
|
|
|
|
|
|
| |
the unlikely event that sysctl_kmem_map_free() was performed on an
empty kmem map, it would incorrectly report the free space as zero.
Discussed with: avg
MFC after: 1 week
|
|
|
|
|
|
| |
This would have had more discussion, but it was explicitly rejected at submission by portmgr:
http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html
|
|
|
|
|
|
|
|
| |
creating new ones by destroying any geom that may have come into
existence immediately after adding a partition. The EBR partition scheme
is particularly enthusiastic about false positives in this case.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
container partitions, which didn't do anything anyway, and check for
an existing freebsd-boot partition before bothering the user to make one.
PR: bin/160931
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
| |
of the SRCS list and b) listing kdump_subr.h in DPSRCS.
|
|
|
|
|
|
|
| |
actually print the name (or the numeric value, if they can't figure out
the correct name) instead of just returning a pointer to it. Also, since
ioctl numbers are not and probably never will be unique, drop support for
using a switch statement instead of an if/else chain.
|
|
|
|
|
|
|
|
| |
but with negative relocation value.
Found by: mpfr test suite, pointed to by ale
Reviewed by: kan
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
relocations are processed, since tls initialization section might be
itself subject for relocations. Only set up of the block is postponed,
the tls block offsets are allocated before relocation processing, since
TLS-related relocations may need offsets ready.
Reported by: ale
PR: threads/161344
Reviewed by: kan
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drivers that only ever attach to a particular MAC driver, i.e. inphy(4),
ruephy(4) and xlphy(4), to the directory where the respective MAC driver
lives and only compile it into the kernel when the latter is also there,
also removing it from miibus.ko and moving it into the module of the
respective MAC driver.
- While at it, rename exphy.c, which comes from NetBSD where the MAC driver
it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD
actually identifies itself as xlphy(4), and its function names accordingly
for consistency.
- Additionally while at it, fix some minor style issues like whitespace
in the register headers and add multi-inclusion protection to inphyreg.h.
|
|
|
|
|
|
|
|
| |
return value is intentionally ignored, but frankly, all it does is
get in the way of the code.
Also fix a few other incorrect casts, such as (void *)malloc(foo) and
passing signed values to %x.
|
| |
|
| |
|
|
|
|
|
|
| |
CID: 3536
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
| |
started using them.
|
| |
|
|
|
|
|
|
|
|
| |
previous one.
CID: 3254
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions may be wider than int, so use intmax_t throughout. Also
add missing casts in printf() calls.
2) Clean up some of the auto-generated code to improve readability.
3) Auto-generate kdump_subr.h. Note that this requires a semi-ugly hack
in the Makefile to make sure it is generated before make(1) tries to
build kdump.c, or preprocess it for 'make depend'.
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
CID: 9870
Found with: Coverity Prevent(tm)
Confirmed by: rwatson
MFC after: 1 week
|
|
|
|
|
|
|
| |
WARNS above 6 has no use. Also, all of usr.bin is also built with
WARNS=6 by default.
Discussed with: edwin
|
|
|
|
|
|
|
| |
libtool.m4. With these fixes libtool will correctly indentify the
system as ELF (and not a.out).
- While here, change the substitutions so they're still correctly
match freebsd1.x, freebsd2.x etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove explicit checks for BCM5716.
The BCM5709 and BCM5716 chips are virtually indistinguishable by
software except for the PCI device ID. The two chips differ in
that BCM5709 supports TCP/IP and iSCSI offload in Windows while
the BCM5716 doesn't.
While I'm here remove now unused definition of BCE_CHIP_NUM_5716
and BCE_CHIP_ID_5716_C0.
Reported by: sbruno
Reviewed by: davidch
Tested by: davidch
|
|
|
|
|
|
| |
Account for this.
Reported by: Mykola Dzham <i@levsha.me>
|
|
|
|
| |
Approved by: wkoszek (mentor)
|
|
|
|
|
|
|
|
|
|
| |
address if that interface does not support ARP. Otherwise the
system will generate error messages unnecessarily due to the missing
entry.
PR: kern/159602
Submitted by: pluknet
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
Zero any sense not transferred by the device as the SCSI specification
mandates that any untransferred data should be assumed to be zero.
Reviewed by: ken
|
|
|
|
|
|
|
|
| |
(already done in the non-error case).
CID: 4726
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
| |
CID: 4725
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
address is being deleted. Only the last reference holder deletes the
loopback route. All other delete operations just clear the IFA_RTSELF
flag.
PR: kern/159601
Submitted by: pluknet
Reviewed by: discussed on net@
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when reaching the zone limit of reassembly queue entries.
When the zone limit was reached not even the missing segment
that would complete the sequence space could be processed
preventing the TCP session forever from making any further
progress.
Solve this deadlock by using a temporary on-stack queue entry
for the missing segment followed by an immediate dequeue again
by delivering the contiguous sequence space to the socket.
Add logging under net.inet.tcp.log_debug for reassembly queue
issues.
Reviewed by: lsteward (previous version)
Tested by: Steven Hartland <killing-at-multiplay.co.uk>
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 month
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
raw IP sockets. It was deducted in ip_input() in preparation for
protocols interested only in the payload.
On raw sockets the IP header should be delivered as it at came in
from the network except for the byte order swaps in some fields.
This brings us in line with all other OS'es that provide raw
IP sockets.
Reported by: Matthew Cini Sarreo <mcins1-at-gmail.com>
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: bf1783 at googlemail.com
MFC after: 3 days
|
|
|
|
|
|
| |
disconnected.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
This makes it run quite a bit faster, since it makes system calls less
often.
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems I was under the impression that a tab differs from a single
forward tabulation, namely that it blanks the underlying cells. This
seems not to be the case. They are identical.
This should fix applications like jove(1) that use tabs instead of
explicit cursor position setting.
Reported by: Brett Glass <brett lariat net>
MFC after: 3 days, after it's tested
|
|
|
|
|
|
|
|
| |
As noted in kern/159780, printf() is not very jail-friendly, since it can't be easily monitored by jail management tools. This patch reports an error via log() instead, which, if nobody is watching the log file, still prints to the console.
Approved by: mentor (rwatson)
Submitted by: Eugene Grosbein <eugen@eg.sd.rdtc.ru>
MFC after: 5 days
|
|
|
|
|
|
| |
Set the sense residual properly.
Reviewed by: ken
|
|
|
|
|
|
|
|
| |
* Add the interrupt bit in the configuration register
* Correctly set the counter register for the sampling overflow
interrupt. The interrupt is asserted when bit 31 is set.
So set the overflow value at 0x80000000 and subtract the
programmed value as appropriate.
|
|
|
|
| |
The previous size lead to truncated /var/run/dmesg.boot when booted with "-v".
|