| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Approved by: re (implicit)
This commit was manufactured to restore the state of the 8.2-RELEASE image.
|
| |
|
|
|
|
|
|
| |
Approved by: re (implcit)
Notes:
svn path=/releng/8.2/; revision=218738
svn path=/release/8.2.0/; revision=218742; tag=release/8.2.0
|
| |
|
|
|
|
|
|
|
|
| |
When turning off TCP_NOPUSH, only call tcp_output() to immediately flush
any pending data if the connection is established.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=218575
|
| |
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.2/; revision=218071
|
| |
|
|
|
|
|
|
|
|
| |
Fix yet another fallout from r208833. VM86 BIOS call may cause page fault
when FPU is in use.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=218032
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
217712 Fix a couple of incorrect variable names in the sysctl code.
217713 - Panic on the 82598 adapter due to reading FCOE registers that don't exit
- Make phy detection dynamic so adapters that support multiple types of
media can be properly identified by the interface layer
- Performance patch to the flow director (ixgbe_atr) code
- Fix intermittent data corruption on the 82599
- Add missing support code for buffer size and descriptors when doing
jumbo frames, also add 16K cluster support.
- Release RX lock when calling stack, this removes LOR problems.
217795 Remove TX_UNLOCK from the error path in local_timer, there is no LOCK
217796 Add missing case for Direct Attach 82598 in the dynamic phy detection
217797 Performance: don't run flow control shared code if nothing has changed
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217917
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Pull ieee80211_ratectl_node_init() calls from drivers into net80211.
This fixes hostap mode for at least ral(4) and run(4), because there is
no sufficient call into drivers which could be used initialize the node
related ratectl variables.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217887
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix for kern/152853, pullup in the wrong
place in em_xmit causes UDP failure. Thanks
to Petr Lampa for the patch.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217865
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Pieces of the failure path in em_xmit got deleted along
the way, correct this.
- local_timer had a leftover TX_UNLOCK without matching
LOCK in the error path, remove it.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217860
|
| |
|
|
|
|
|
|
|
|
| |
Revert the ndis part of r212122, windrv_stub.c already adds a MODULE_VERSION
and this breaks loading miniport drivers from loader.conf
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=217837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework RX filter programming by providing separate handler for
DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no
longer reinitializes controller if ALLMULTI/PROMISC was changed.
However, RX filter handling code assumed some bits of the RX filter
is programmed by driver initialization. This caused ALLMULTI/PROMISC
configuration is ignored under certain conditions.
Fix that issue by reprogramming all bits of RX filter register.
While I'm here follow recommended RX filter programming steps
recommended by National DP8381[56] data sheet(RX filter should be
is disabled before programming).
Reported by: Paul Schenkeveld < freebsd () psconsult dot nl >
Tested by: Paul Schenkeveld < freebsd () psconsult dot nl >
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217803
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Allow IFM_FLAG0 to be set indicating that auto-negotiation with manual
configuration, which is used to work around issues with certain setups
(see r161237) by default, should not be triggered as it may in turn
cause harm in some edge cases.
- Even after masking the media with IFM_GMASK the result may have bits
besides the duplex ones set so just comparing it with IFM_FDX may lead
to false negatives.
- Announce PAUSE support also for manually selected 1000BASE-T, but for
all manually selected media types only in full-duplex mode. Announce
asymmetric PAUSE support only for manually selected 1000BASE-T.
- Simplify setting the manual configuration bits to only once after we
have figured them all out. This also means we no longer unnecessarily
update the hardware along the road.
- Remove a stale comment.
Reviewed by: yongari (plus additional testing)
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217666
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E),
limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of
blindly configuring it to 16KB. Due to lack of documentation, re(4)
didn't allow jumbo frame on these controllers. However it seems
controller is confused with jumbo frame such that it can DMA the
received frame to wrong address instead of splitting it into
multiple RX buffers. Of course, this caused panic.
Since re(4) does not support jumbo frames on these controllers,
make controller drop frame that is longer than RE_RX_DESC_BUFLEN
sized frame. Fortunately RTL810x controllers, which do not support
jumbo frame, have no such issues but this change also limited
maximum RX buffer size allowed to RTL810x controllers. Allowing
16KB RX buffer for controllers that have no such capability is
meaningless.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217647
|
| |
|
|
|
|
|
|
|
|
| |
The cxgb module wasn't being built. Now it is built on all !arm and
!mips builds. It always built in a kernel config file.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217643
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a bug in the client side krpc where it was, sometimes
erroneously, assumed that 4 bytes of data were in the first
mbuf of a list by replacing the bcopy() with m_copydata().
Also, replace the uses of m_pullup(), which can fail for
reasons other than not enough data, with m_copydata().
For the cases where it isn't known that there is enough
data in the mbuf list, check first via m_len and m_length().
This is believed to fix a problem reported by dpd at dpdtech.com
and george+freebsd at m5p.com.
Reviewed by: jhb (for head)
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=217617
|
| |
|
|
|
|
|
|
|
| |
panic when booting FreeBSD/XEN on recent AMD CPUs.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=217598
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure to always do source address selection on
an unbound socket, regardless of any multicast options.
If an address is specified via a multicast option, then
let it override normal the source address selection.
This fixes a bug where source address selection was
not being performed when multicast options were present
but without an interface being specified.
Approved by: re
Notes:
svn path=/releng/8.2/; revision=217280
|
| |
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.2/; revision=217255
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply DMA address space restriction to controllers that have 4GB
DMA boundary bug and runs with PCI-X mode. watchdog timeout was
observed on BCM5704 which lives behind certain PCI-X bridge(e.g.
AMD 8131 PCI-X bridge). It's still not clear whether the root
cause came from that PCI-X bridge or not. The watchdog timeout
indicates the issue is in TX path. If the bridge reorders TX
mailbox write accesses it would generate all kinds of problems but
I'm not sure. This should be revisited.
Early MFC requested by re@ for inclusion in 8.2-RC2/7.4-RC2.
Tested by: Michael L. Squires (mikes <> siralan dot org)
Approved by: re (kensmith)
Notes:
svn path=/releng/8.2/; revision=217233
|
| |
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217130
|
| |
|
|
|
|
|
|
|
|
|
|
| |
MFp4 186485, 186859:
Fix a race by defining two tasks in the zio structure
as we can still be returning from issue task when interrupt task is used.
Reviewed by: pjd
Approved by: re (kib), pjd
Notes:
svn path=/releng/8.2/; revision=217096
|
| |
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217084
|
| |
|
|
|
|
|
| |
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217083
|
| |
|
|
|
|
|
|
|
| |
input available.
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217082
|
| |
|
|
|
|
|
|
|
|
| |
on i386/XEN.
PR: kern/141328
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217081
|
| |
|
|
|
|
|
|
| |
PR: kern/140313
Approved by: re (rwatson)
Notes:
svn path=/releng/8.2/; revision=217080
|
| |
|
|
|
|
|
|
|
| |
Fix parameters for wakeup(9) and tsleep(9).
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=217059
|
| |
|
|
|
|
|
|
|
|
|
| |
Calling fill_fpregs() for curthread is legitimate, and ELF coredump
does this.
Discussed with: kib
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=217031
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extend the section in which interrupts are disabled in the TLB demap
functions, otherwise if we get preempted after checking whether a certain
pmap is active on the current CPU but before disabling interrupts we might
operate on an outdated state as the pmap might have been deactivated in
the meantime. As the same issue may arises when the TLB demap function is
interrupted by a TLB demap IPI, just entering a critical section before
the check isn't sufficient so we have to fully disable interrupts instead.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=217006
|
| |
|
|
|
|
|
|
|
|
| |
Drop the icu_lock spinlock while pausing briefly after masking the
interrupt in the I/O APIC before moving it to a different CPU.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216924
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The RX path is missing a few bus_dmamap_*() calls, this results in
modification of memory which was already free'd and eventually in:
wpi0: could not map mbuf (error 12)
wpi0: wpi_rx_intr: bus_dmamap_load failed, error 12
and an usuable device.
PR: kern/144898
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216886
|
| |
|
|
|
|
|
|
|
|
|
| |
Happy New Year 2011.
Approved by: core (kib)
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216852
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since VOP_READDIR() for ZFS does not return monotonically
increasing directory offset cookies, disable the UFS related
loop that skips over directory entries at the beginning of
the block for the experimental NFS server. This loop is
required for UFS since it always returns directory entries
starting at the beginning of the block that
the requested directory offset is in. In discussion with pjd@
and mckusick@ it seems that this behaviour of UFS should maybe
change, with this fix being an interim patch until then.
This patch only fixes the experimental server, since pjd@ is
working on a patch for the regular server.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216808
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix handling of initial credit for an idle pipe. This fixes the bug where
setting bw > 1 MTU/tick resulted in infinite bandwidth if io_fast=1
PR: kern/147245, kern/148429
Obtained from: Riccardo Panicucci
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=216759
|
| |
|
|
|
|
|
|
|
|
|
| |
Propagate the vlan events to the underlying interfaces/members so they
can do initialization of hw related features.
PR: kern/141646
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=216741
|
| |
|
|
|
|
|
|
|
|
|
| |
Re-add a status check which sneaked out during r214804.
This change can fix some USB error messages showing up
during bootup.
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216720
|
| |
|
|
|
|
|
|
|
| |
Fix a flightsize bug related to the processing of PKTDRP reports.
Approved by: re
Notes:
svn path=/releng/8.2/; revision=216715
|
| |
|
|
|
|
|
|
|
| |
Restore the ABI of struct kinfo_proc32 after r213536.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=216713
|
| |
|
|
|
|
|
|
|
|
| |
VOP_ISLOCKED() should not be used to determine if the vnode is locked.
Explicitely track the locked status of the vnode.
Approved by: re (bz)
Notes:
svn path=/releng/8.2/; revision=216712
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix panic while trying to use monitor mode. The iwn_cmd() calls issued by
iwn_config() want to msleep() on the mutex.
PR: kern/138427
Submitted by: Henry Hu <henry.hu.sh at gmail.com>
Approved by: re (kib)
Notes:
svn path=/releng/8.2/; revision=216710
|
| |
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.2/; revision=216663
|
| |
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/8.2/; revision=216639
|
| |
|
|
|
|
|
|
|
| |
Bugfix: Take also the nr-mapping array into account when detecting
gaps.
Approved by: re@
Notes:
svn path=/stable/8/; revision=216613
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix race in devfs by using LIST_FIRST() instead of
LIST_FOREACH_SAFE() when freeing the devfs private
data entries.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=216611
|
| |
|
|
|
|
|
|
|
|
|
| |
'could not set power mode', 'device config failed' and other errors due
reading invalid memory.
Approved by: re (kib)
Obtained from: OpenBSD
Notes:
svn path=/stable/8/; revision=216610
|
| |
|
|
|
|
|
|
|
|
|
| |
a 2GHz channel with appropriate flags set to sc->config. Due to not zeroing
sc->config for auth/assoc those flags are still set while trying to connect
on a 5GHz channel.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=216609
|
| |
|
|
|
|
|
|
|
|
| |
wpi_rfkill_resume() function will take care of the lock.
PR: kern/14489
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=216608
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r215844, r216041, r216241, r216280, r216382, and r216385.
* Make blkfront not advertise a larger maximum I/O size than it can handle
for unaligned data (r216241)
* Correctly reserve CPU #0's DPCPU pages (r216041)
* Make machdep.independent_wallclock do what it claims (r216382)
* Don't round xen timecounter to the nearest tick (r215663), but decrease
its frequency to avoid wrapping at ~4.3s (r216385)
* Remove debugging code which caused a massing slowdown in fork-heavy
workloads (r215813)
* Add a missing page table flush before invalidating TLBs in pmap_qremove
(r215819+215844)
* In pmap_release, don't unpin pages which weren't pinned (r215525) and don't
KASSERT page mappings which don't exist (r215470); but do pmap_qremove all
the relevant pages (r215472)
* Don't unmask an event channel until after we register the interrupt handler
for it (r216280)
Approved by: re (rwatson)
Notes:
svn path=/stable/8/; revision=216602
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add back a bounds check on valid idle priorities that was lost in an
earlier commit. While here, move the thread lock down in rtp_to_pri().
It is not needed for all of the priority value checks and the computation
of newpri.
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=216593
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer where data is to be returned by ibask() (currently unimplemented),
while __retval holds the value returned by the libgpib ibfoo() functions.
The confusion resulted in the ibfoo() functions returning an uninitialized
value except in situations where the GPIB activity has been terminated
abnormally.
Implement more of __ibsta: END and SRQI status bits (taken out of the
uPD7210 IRQ status).
Approved by: re (kib)
Notes:
svn path=/stable/8/; revision=216573
|