| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=225773
|
|
|
|
|
|
|
| |
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=225772
|
|
|
|
|
|
|
|
| |
Submitted by: Mamontov Roman <mr.xanto at gmail.com>
Approved by: re (implicit)
Notes:
svn path=/head/; revision=225764
|
|
|
|
|
|
|
|
|
| |
it from the 9.0-RELEASE release cycle code freeze.
Approved by: re (implicit)
Notes:
svn path=/head/; revision=225757
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
back-end features.
sys/dev/xen/netfront/netfront.c:
o Add xn_query_features() which reads the XenStore and
records the TSO, LRO, and chained ring-request support
of the backend.
o Rename xn_configure_lro() to xn_configure_features() and
use this routine to manage the setup of TSO, LRO, and
checksum offload.
o In create_netdev(), initialize if_capabilities and
if_hwassist to the capabilities found on all backends.
Delegate configuration of if_capenable and the TSO flag
if if_hwassist to xn_configure_features().
Reported by: Hugo Silva (fix inspired by patch provided)
Approved by: re
MFC after: 1 week
Notes:
svn path=/head/; revision=225709
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PV devices with the ioemu attribute set.
sys/dev/xen/netfront/netfront.c:
o If a mac address for the interface cannot be found
in the front-side XenStore tree, look for an entry
in the back-side tree. With ioemu devices, the
emulator does not populate the front side tree and
neither does Xend.
o Return an error rather than panic when an attach
attempt fails.
Reported by: Janne Snabb (fix inspired by patch provided)
PR: kern/154302
Approved by: re
Notes:
svn path=/head/; revision=225708
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sponsored by: BQ Internet
sys/dev/xen/netfront/netfront.c:
o Implement netfront_suspend(), a specialized suspend
handler for the netfront driver. This routine simply
disables the carrier so the driver is idle during
system suspend processing.
o Fix a leak when re-initializing LRO during a link reset.
o In netif_release_tx_bufs(), when cleaning up the grant
references for our TX ring, use gnttab_end_foreign_access_ref
instead of attempting to grant the page again.
o In netif_release_tx_bufs(), we do not track mbufs associated
with mbuf chains, but instead just free each mbuf directly.
Use m_free(), not m_freem(), to avoid double frees of mbufs.
o Refactor some code to enhance clarity.
Approved by: re
MFC after: 1 week
Notes:
svn path=/head/; revision=225707
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sys/dev/xen/control/control.c:
Fix locking violations in Xen HVM suspend processing
and have it perform similar actions to those performed
during an ACPI triggered suspend.
Sponsored by: BQ Internet
Approved by: re
MFC after: 1 week
Notes:
svn path=/head/; revision=225706
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sponsored by: BQ Internet
sys/dev/xen/blkfront/block.h:
sys/dev/xen/blkfront/blkfront.c:
Remove now unused blkif_vdev_t from the blkfront soft.
sys/dev/xen/blkfront/blkfront.c:
o In blkfront_suspend(), indicate the desire to suspend
by changing the softc connected state to SUSPENDED, and
then wait for any I/O pending on the remote peer to
drain. Cancel suspend processing if I/O does not
drain within 30 seconds.
o Enable and update blkfront_resume(). Since I/O is
drained prior to the suspension of the VM, the complicated
recovery process performed by other Xen blkfront
implementations is avoided. We simply tear down the
connection to our old peer, and then re-connect.
o In blkif_initialize(), fix a resource leak and botched
return if we cannot allocate shadow memory for our
requests.
o In blkfront_backend_changed(), correct our response to
the XenbusStateInitialised state. This state indicates
that our backend peer has published sufficient data for
blkfront to publish ring information and other XenStore
data, not that a connection can occur. Blkfront now
will only perform connection processing in response to
the XenbusStateConnected state. This corrects an issue
where blkfront connected before the backend was ready
during resume processing.
Approved by: re
MFC after: 1 week
Notes:
svn path=/head/; revision=225705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
framework.
Sponsored by: BQ Internet
sys/xen/xenbus/xenbusb.c:
o In xenbusb_resume(), publish the state transition of the
resuming device into XenbusStateIntiailising so that the
remote peer can see it. Recording the state locally is
not sufficient to trigger a re-connect sequence.
o In xenbusb_resume(), defer new-bus resume processing until
after the remote peer's XenStore address has been updated.
The drivers may need to refer to this information during
resume processing.
sys/xen/xenbus/xenbusb_back.c:
sys/xen/xenbus/xenbusb_front.c:
Register xenbusb_resume() rather than bus_generic_resume()
as the handler for device_resume events.
sys/xen/xenstore/xenstore.c:
o Fix grammer in a comment.
o In xs_suspend(), pass suspend events on to the child
devices (e.g. xenbusb_front/back, that are attached
to the XenStore.
Approved by: re
MFC after: 1 week
Notes:
svn path=/head/; revision=225704
|
|
|
|
|
|
|
|
|
|
| |
own the unrelated vnode lock, doing waiting sync causes deadlocks.
Reported and tested by: pho
Approved by: re (bz)
Notes:
svn path=/head/; revision=225700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
executable) after r190885. The whole region for the dso is mmaped with
MAP_NOCORE flag, doing only mprotect(2) over .bss prevented it from
writing .bss to core files.
Revert the optimization of using mprotect(2) to establish .bss, overlap
the section with mmap(2).
Reported by: attilio
Reviewed by: attilio, emaste
Approved by: re (bz)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=225699
|
|
|
|
|
|
|
|
| |
Reviewed by: rwatson, bz
Approved by: re (kib)
Notes:
svn path=/head/; revision=225698
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes a race in device side mode during clear-stall from
host, which can cause data to be sent too early on the given
endpoint.
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225695
|
|
|
|
|
|
|
|
|
|
|
|
| |
doesn't select it automatically.
Submitted by: nox
Reviewed by: bschmidt
Approved by: re
PR: kern/160815
Notes:
svn path=/head/; revision=225686
|
|
|
|
|
|
|
|
| |
Pointed out by: dougb
Approved by: re (bz)
Notes:
svn path=/head/; revision=225684
|
|
|
|
|
|
|
|
|
|
|
|
| |
clean-up RA messages for shutting down. The RA timers could prevent the rtadvd
daemon from shutting down because ra_output() just ignored !IFF_UP interfaces
and TRANSITIVE->UNCONFIGURED state transition never happened due to it.
Spotted by: kib
Approved by: re (bz)
Notes:
svn path=/head/; revision=225683
|
|
|
|
|
|
|
|
|
|
|
| |
inconsistency when options are specified by both setsockopt() and ancillary
data types.
PR: kern/158307
Approved by: re (bz)
Notes:
svn path=/head/; revision=225682
|
|
|
|
|
|
|
|
|
|
|
|
| |
conversion, conversion must fail and errno must be set to E2BIG.
PR: standards/160673
Submitted by: Henning Petersen <henning.petersen@t-online.de>
Reviewed by: pluknet
Approved by: re (kib), delphij (mentor)
Notes:
svn path=/head/; revision=225678
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
size.
Reported by: many
Tested by: Jeremie Le Hen <jeremie@le-hen.org> (previous version)
Reviewed by: jilles
Approved by: re (bz)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=225677
|
|
|
|
|
|
|
|
| |
Approved by: re
MFC after: 1 month.
Notes:
svn path=/head/; revision=225676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thing all the other architectures already do) thus just initialize
kernel_pmap in pmap_bootstrap().
Reported by: alc
Reviewed by: alc, marius
Tested by: flo, marius
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225675
|
|
|
|
|
|
|
|
|
|
| |
- Add descriptions of sysctl(8) variables which can control the default
configuration of the inet6 flags.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225672
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Emphasize $ipv6_enable and $ipv6_prefer are deprecated.
- Add more detail descriptions about $ipv6_activate_all_interfaces.
- Add some more examples of $ifconfig_IF_ipv6.
- rtsold(8) and rtadvd(8) can be used even when ipv6_gateway_enable=NO now.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225671
|
|
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/head/; revision=225670
|
|
|
|
|
|
|
|
|
| |
interface configuration and before running network daemons.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Intel manuals) it must be cleared by writing a 0.
Fix that.
Sponsored by: Sandvine Incorporated
Reported by: rstone
Reviewed by: delphij, emaste, rstone
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225662
|
|
|
|
|
|
|
|
| |
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve exit when an error occurs.
Fix parsing to grab values which contain extra '=' signs.
Fix a bug setting the timezone properly.
Fix a usage bug when setting up with gmirror.
Allow a uzip file from local media to be used.
Allow specifying flags for "newfs" when using UFS as the file system.
Run custom commands after doing final cleanup / fstab generation
and such. Also fix using relative path for config file.
Approved by: re (bz)
Notes:
svn path=/head/; revision=225657
|
|
|
|
|
|
|
| |
Approved by: re (follow up commit fixing trivial issue)
Notes:
svn path=/head/; revision=225644
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is less likely to block a remote system from boot.
Submitted by: Garrett Cooper <yanegomi@gmail.com>
PR: doc/160775
MFC after: 1 month
Approved by: re (kib)
Notes:
svn path=/head/; revision=225643
|
|
|
|
|
|
|
|
|
| |
freed properly if resource limit got exceeded.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225642
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we were accounting the newly created process to its parent instead
of the child itself. This caused problems later, when the child
changed its credentials - the per-uid, per-jail etc counters were
not properly updated, because the maxproc counter in the child
process was 0.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initialization. Prior to this change packets may be transmitted with an
incorrect checksum.
Em(4) already has an equivalent change in r213234.
Obtained From: Sandvine
MFC After: 1 week
Approved by: re (bz)
Notes:
svn path=/head/; revision=225640
|
|
|
|
|
|
|
|
|
|
|
|
| |
not configure the host's networking if netbooted [1]. Also fix FTP
installations behind some firewalls [2].
PR: bin/159583 [2]
Reported by: stas [1]
Approved by: re (kib)
Notes:
svn path=/head/; revision=225637
|
|
|
|
|
|
|
|
|
| |
discovery when using the SCTP_PEER_ADDR_PARAMS socket option.
Approved by: re
MFC after: 1 month.
Notes:
svn path=/head/; revision=225635
|
|
|
|
|
|
|
| |
Approved by: re@, glarkin@
Notes:
svn path=/head/; revision=225632
|
|
|
|
|
|
|
| |
Approved by: re(bz)
Notes:
svn path=/head/; revision=225618
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch modifies makesyscalls.sh to prefix all of the non-compatibility
calls (e.g. not linux_, freebsd32_) with sys_ and updates the kernel
entry points and all places in the code that use them. It also
fixes an additional name space collision between the kernel function
psignal and the libc function of the same name by renaming the kernel
psignal kern_psignal(). By introducing this change now we will ease future
MFCs that change syscalls.
Reviewed by: rwatson
Approved by: re (bz)
Notes:
svn path=/head/; revision=225617
|
|
|
|
|
|
|
|
| |
Approved by: re (kib)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=225614
|
|
|
|
|
|
|
|
|
| |
being set correctly.
Approved by: re (kib)
Notes:
svn path=/head/; revision=225613
|
|
|
|
|
|
|
|
|
|
| |
installer network configuration.
PR: bin/159558
Approved by: re (kib)
Notes:
svn path=/head/; revision=225612
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It appears this was already done in NetBSD a decade ago, hence
I just reuse the change (except our code is bad styled).
PR: bin/160516
Approved by: portmgr
Approved by: re (kib)
Obtained from: NetBSD
Notes:
svn path=/head/; revision=225610
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- redirect diagnostics printfs in the boot code to stderr
- do not read trailing garbage from a trailing block of a file
Also add my copyright to the file after making so many changes.
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225609
|
|
|
|
|
|
|
|
| |
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returned by the server matched what we requested, and blindly appended
what we received to what we already had. This could go two ways: if the
delivered offset was higher than expected, the local file would contain
duplicate data, while if it was lower than expected, there would be data
missing from the middle of the file. Furthermore, if the transfer was
interrupted again, each subsequent attempt would compound the error.
Fix the first problem by restarting the transfer from scratch if there
is a gap, and the second by explicitly seeking to the correct location
in the local file so as to overwrite any duplicated data.
PR: bin/117277
Approved by: re (kib)
MFC after: 3 weeks
Notes:
svn path=/head/; revision=225599
|
|
|
|
|
|
|
|
|
|
| |
forgot to tell the man page we could now convert Celsius to Fahrenheit.
Approved by: re (kib)
MFC after: 1 month
Notes:
svn path=/head/; revision=225596
|
|
|
|
|
|
|
|
|
|
|
|
| |
as a symbolic link.
PR: conf/160711
Submitted by: Jase Thew
Approved by: re (kib)
MFC after: 1 week
Notes:
svn path=/head/; revision=225587
|
|
|
|
|
|
|
|
|
|
|
|
| |
build it with and without INET/INET6 support.
Submitted by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1]
Tested by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1]
Approved by: re (bz)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=225586
|
|
|
|
|
|
|
|
|
|
|
| |
http://svn.freebsd.org/changeset/base/225571
Reported by Ilya A. Arkhipov.
Approved by: re
MFC after: 1 month.
Notes:
svn path=/head/; revision=225584
|