| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=218739
svn path=/release/7.4.0/; revision=218743; tag=release/7.4.0
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=218736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix Incorrectly formatted ClientHello SSL/TLS handshake messages could
cause OpenSSL to parse past the end of the message.
Note: Applications are only affected if they act as a server and call
SSL_CTX_set_tlsext_status_cb on the server's SSL_CTX. This includes
Apache httpd >= 2.3.3, if configured with "SSLUseStapling On".
The very quick merge is done to get this fix into 7.4 / 8.2.
Approved by: re (bz)
Obtained from: OpenSSL CVS
Security: http://www.openssl.org/news/secadv_20110208.txt
Security: CVE-2011-0014
Notes:
svn path=/releng/7.4/; revision=218636
|
|
|
|
|
|
|
|
|
|
| |
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/7.4/; revision=218576
|
|
|
|
|
|
|
|
|
| |
Update to reflect the package layout for 7.4-RELEASE.
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=218135
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=218024
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=217987
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=217931
|
|
|
|
|
|
|
|
|
|
|
| |
Fix to kern/152853, misplaced pullup
in em_xmit breaks UDP tx, thanks to
Petr Lampa for the patch.
Approved by: re (bz)
Notes:
svn path=/releng/7.4/; revision=217866
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Pieces of the failure path in em_xmit got
mangled, correct it.
- local_timer had a leftover TX_UNLOCK without
a matching TX_LOCK in the error path, remove it.
Approved by: re (bz)
Notes:
svn path=/releng/7.4/; revision=217862
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/7.4/; revision=217804
|
|
|
|
|
|
|
|
|
|
| |
The (%esp & 0xf) == 0 should be true before the call instruction is
executed, for the properly aligned stack.
Approved by: re (bz)
Notes:
svn path=/releng/7.4/; revision=217721
|
|
|
|
|
|
|
|
|
|
|
| |
Add a manual page for rgephy(4) and reference it as appropriate. The
motivation for having rgephy.4 is to document the special media option
added in r217415 (MFC'ed to releng/7.4 in r217667).
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=217695
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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/7.4/; revision=217667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/7.4/; revision=217648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Decrease the libcrypto and libssl shared object version numbers from 6
to 5. They were accidentally bumped in r215997 (on 2010-11-28) with the
merge of OpenSSL 0.9.8p, but unfortunately this was not caught until
now.
Also add compat links for libcrypto.so.6 / libssl.so.6 (pointing to
their .5 counterparts) in case any users have compiled any third party
during the time stable/7 (and releng/7.4) were broken.
This is deemed the last poor of bad options. Had the number bump not
been reverted binary packages for stable/7 would not have worked on the
still supported 7.3 and 7.1 releases.
Approved by: re (kensmith)
Notes:
svn path=/releng/7.4/; revision=217574
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=217256
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/7.4/; revision=217235
|
|
|
|
|
|
|
|
|
| |
- Clean-up old entries.
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=217228
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=217116
|
|
|
|
|
|
|
|
|
| |
Put warnings out to stderr rather than stdout.
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=217086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/7.4/; revision=217007
|
|
|
|
|
|
|
|
|
|
|
| |
Happy New Year 2011.
Approved by: core (kib)
Approved by: re (kib)
Notes:
svn path=/releng/7.4/; revision=216853
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216664
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216648
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216647
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216646
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216645
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216644
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Notes:
svn path=/releng/7.4/; revision=216643
|
|
|
|
|
|
|
|
|
|
|
| |
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/7/; revision=216612
|
|
|
|
|
|
|
|
|
|
|
| |
Add MAKEDEV.8
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216571
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a sync to the shutdown step. In the common case this will be
harmless at worst. On a heavily loaded server it will give the fs a
chance to do its business without the axe hanging over its head.
Submitted by: ivoras
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216569
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a long standing (from the original 4.4BSD lite sources) race between
vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page
missing" panics. While faulting in pages for a map entry that is being
wired down, mark the containing map as busy. In vmspace_fork wait until
the map is unbusy, before we try to copy the entries.
Sponsored by: Isilon Systems, Inc.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216554
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the test for a minimum frame size from the IPV6 TX context
descriptor setup, when using VLANs and HW TAGGING the length of
an ICMP6 frame will fail this test and be discarded.
Approved by: re
Notes:
svn path=/stable/7/; revision=216465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
priority of '1' to tsleep(). This caused the priority of this kthread to
be raised higher than every other thread in the system. Instead, leave
the priority of the kthread at its existing level.
This is a direct commit to stable/7 as this code is no longer present in
8.x and later.
Reviewed by: np
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216449
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correct the RX discard and refresh_mbuf logic to match igb, the old
discard code could cause panics due to a bad pointer, now simply
have discard always free mbufs and depend on refresh. In the refresh
code, make sure the mbuf and soft buf struct are properly reset.
Approved by: re
Notes:
svn path=/stable/7/; revision=216441
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c
in crt1.o. On other architectures crtbrand.c is included from crt1.c,
but that's not a C source code file on ia64. Instead it is compiled
separately and included in crt1.o using incremental linking.
Approved by: re (kensmith), kib (mentor)
Notes:
svn path=/stable/7/; revision=216435
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use correct field to track statistics counting error as bad header length.
This assimilates the code to what ip_input has been doing since r1.1 in
this case.
Submitted by: Rozhuk Ivan (rozhuk.im gmail.com)
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216357
|
|
|
|
|
|
|
|
|
| |
fix a buffer overflow with large (100k+) number of input lines.
Approved by: re (bz)
Notes:
svn path=/stable/7/; revision=216347
|
|
|
|
|
|
|
|
|
|
| |
Make German formal clause to be consistent with the keymap counterpart.
Submitted by: arundel
Approved by: re (kensmith, bz)
Notes:
svn path=/stable/7/; revision=216345
|
|
|
|
|
|
|
|
|
|
|
| |
Merge in OpenSSL 0.9.8q.
Approved by: re (kib)
Security: CVE-2010-4180
Security: http://www.openssl.org/news/secadv_20101202.txt
Notes:
svn path=/stable/7/; revision=216342
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to version 9.4-ESV-R4, the latest from ISC, which addresses
the following security vulnerabilities.
For more information regarding these issues please see:
http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories
1. Cache incorrectly allows ncache and rrsig for the same type
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613
Affects resolver operators whose servers are open to potential
attackers. Triggering the bug will cause the server to crash.
This bug applies even if you do not have DNSSEC enabled.
2. Key algorithm rollover
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614
Affects resolver operators who are validating with DNSSEC, and
querying zones which are in a key rollover period. The bug will
cause answers to incorrectly be marked as insecure.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216336
|
|
|
|
|
|
|
|
|
| |
Revert r209469: it causes the rest of the function to be bypassed.
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=216328
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ignore any failures with the "local" distribution since it's not present
on release CDs and so will normally fail.
installCommit() returns a DITEM_ value, not a Boolean.
distExtractAll() returns a Boolean, not a DITEM_ value.
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=216327
|
|
|
|
|
|
|
|
|
|
|
| |
Update the description of green_saver.ko
Improvements to my suggested text from: jhb
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If RX lockup workaround is enabled, fxp(4) will periodically reset
the controller to workaround silicon bug of i82557. Each reset will
re-establish link which in turn triggers MII status change
callback. The callback will try to reconfigure controller if the
controller is not i82557 to enable flow-control. This caused
endless link UP/DOWN when the workaround was enabled on non-i82557
controller.
To fix the issue, apply RX lockup workaround only for i82557.
Previously it blindly checked undocumented EEPROM location such
that it sometimes enabled the workaround for other controllers. At
this time, only i82557 is known to have the silicon bug.
This fixes a regression introduced in r215906 which enabled flow
control support for all controllers except i82557.
Reported by: Karl Denninger (karl <> denninger dot net)
Tested by: Karl Denninger (karl <> denninger dot net)
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=216265
|
|
|
|
|
|
|
|
|
| |
Do not change CPU ticker frequency if TSC is P-state invariant.
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=216262
|
|
|
|
|
|
|
| |
Approved by: re (bz)
Notes:
svn path=/stable/7/; revision=216165
|
|
|
|
|
|
|
| |
Approved by: re (bz)
Notes:
svn path=/stable/7/; revision=216153
|