Displaying 1 50 of 262,397 commits (0.020s)

FreeBSD — head/sys/net if.c if_var.h, head/sys/netinet in.c

Fix host and network routes for new interfaces when net.add_addr_allfibs=0

sys/net/route.c
        In rtinit1, use the interface fib instead of the process fib.  The
        latter wasn't very useful because ifconfig(8) is usually invoked
        with the default process fib.  Changing ifconfig(8) to use setfib(2)
        would be redundant, because it already sets the interface fib.

tests/sys/netinet/fibs_test.sh
        Clear the expected ATF failure

sys/net/if.c
        Pass the interface fib in calls to rtrequest1_fib and rtalloc1_fib

sys/netinet/in.c
sys/net/if_var.h
        Add a fibnum argument to ifa_switch_loopback_route, a subroutine of
        in_scrubprefix.  Pass it the interface fib.

PR:                kern/187549
Reviewed by:        melifaro
MFC after:        3 weeks
Sponsored by:        Spectra Logic Corporation

FreeBSD — head/sys/cam/ctl ctl_backend_ramdisk.c ctl_backend_block.c

Remove limits on size of READ/WRITE operations.

Instead of allocating up to 16MB or RAM at once to handle whole I/O,
allocate up to 1MB at a time, but do multiple ctl_datamove() and storage
I/Os if needed.

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c

Eliminate duplicate checks in vdev_geom_io_intr error handling

MFC after:        1 month

FreeBSD — head/sys/cam/ctl scsi_ctl.c

Make CAM target CTL frontend respect SIM I/O size limitations.

If datamove size is bigger then SIM can handle, or it has more segments
then this code can handle -- split it into several CTIO requests.
Delta File
+98 -100 head/sys/cam/ctl/scsi_ctl.c
+98 -100 1 file

FreeBSD — head/sys/dev/acpica/Osd OsdSchedule.c

Remove duplicate SYSCTL_DECL(_debug_acpi) which was breaking tinderbox

MFC after:        2 weeks
X-MFC-With: r264849

FreeBSD — head/sys/amd64/amd64 xen-locore.S

xen: fix copyright header

Some of the code in xen-locore.S was picked from Cherry G. Mathew
amd64 Xen PV branch, but I've failed to set the proper copyright, so
do it now.

Approved by: gibbs
Delta File
+4 -0 head/sys/amd64/amd64/xen-locore.S
+4 -0 1 file

FreeBSD — head/usr.bin/truss syscalls.c syscall.h

Add Linux socket call decoding to truss

MFC after:        1 month

FreeBSD — head/sys/cam/ctl ctl_frontend_iscsi.c

Modify CTL iSCSI frontend to properly handle situations where datamove
routine is called multiple times per SCSI task.

Sponsored by:        The FreeBSD Foundation
Delta File
+81 -49 head/sys/cam/ctl/ctl_frontend_iscsi.c
+81 -49 1 file

FreeBSD — head/sys/netinet raw_ip.c in_pcb.h

Fix jailed raw sockets not setting the correct source address by
calling in_pcbladdr instead of prison_get_ip4

MFC after:        1 month

FreeBSD — head/sys/dev/acpica acpivar.h

Increase ACPI_MAX_TASKS to be 4 x the number of CPU's as 2 x was still
insufficient on some machines

MFC after:        2 weeks
Delta File
+1 -1 head/sys/dev/acpica/acpivar.h
+1 -1 1 file

FreeBSD — head/usr.sbin/ctld ctl.conf.5

Style fixes.
Delta File
+9 -9 head/usr.sbin/ctld/ctl.conf.5
+9 -9 1 file

FreeBSD — head/usr.bin/iscsictl iscsictl.8

Grammar fix.
Delta File
+2 -2 head/usr.bin/iscsictl/iscsictl.8
+2 -2 1 file

FreeBSD — stable/8/sys/netinet6 ip6_input.c

MFC r264582:
  Remove unused variable.

PR:                173521
Delta File
+0 -3 stable/8/sys/netinet6/ip6_input.c
+0 -3 1 file

FreeBSD — stable/9/sys/netinet6 ip6_input.c

MFC r264582:
  Remove unused variable.

PR:                173521
Delta File
+0 -3 stable/9/sys/netinet6/ip6_input.c
+0 -3 1 file

FreeBSD — stable/10/sys/netinet6 ip6_input.c

MFC r264582:
  Remove unused variable.

PR:                173521

FreeBSD — stable/8/lib/libipsec ipsec_dump_policy.c

MFC: r264585

Add a missing break in the TCP case.

Reviewed by:        bms

FreeBSD — stable/9/lib/libipsec ipsec_dump_policy.c

MFC: r264585

Add a missing break in the TCP case.

Reviewed by:        bms

FreeBSD — stable/10/lib/libipsec ipsec_dump_policy.c

MFC: r264585

Add a missing break in the TCP case.

Reviewed by:        bms

FreeBSD — stable/9/sys/geom/raid md_ddf.c

MFC r264318:
Fix wrong sizes used to access PD_Type and PD_State DDF metadata fields.

This caused incorrect behavior of arrays with big-endian DDF metadata.
Little-endian (like used by Adaptec controllers) should not be harmed.
Add workaround should be enough to manage compatibility.
Delta File
+39 -17 stable/9/sys/geom/raid/md_ddf.c
+39 -17 1 file

FreeBSD — stable/10/sys/geom/raid md_ddf.c

MFC r264318:
Fix wrong sizes used to access PD_Type and PD_State DDF metadata fields.

This caused incorrect behavior of arrays with big-endian DDF metadata.
Little-endian (like used by Adaptec controllers) should not be harmed.
Add workaround should be enough to manage compatibility.
Delta File
+39 -17 stable/10/sys/geom/raid/md_ddf.c
+39 -17 1 file

FreeBSD — head/sys/dev/virtio/random virtio_random.c

Wait for the callout to finish before unloading the module

MFC after:        3 days

FreeBSD — stable/10/share/man/man4 vmx.4, stable/10/sys/dev/vmware/vmxnet3 if_vmx.c if_vmxvar.h

MFC r263259
    Add Tx/Rx multiqueue support to vmx(4)

    As a prerequisite for multiple queues, the guest must have MSIX enabled.
    Unfortunately, to work around device passthrough bugs, FreeBSD disables
    MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist
    tunable; this tunable must be disabled for multiple queues.

    Also included is various minor changes from the projects/vmxnet branch.

MFC r264865
    Update the date that was missed in r263259

FreeBSD — head/share/man/man4 vmx.4

Update the date that was missed in r263259
Delta File
+1 -1 head/share/man/man4/vmx.4
+1 -1 1 file

FreeBSD — head/sys/dev/usb/wlan if_urtwn.c

Fix panic by adding mtx_assert() to urtwn_init_locked() and
urtwn_stop_locked().

Tested by:        Anthony Jenkins <scoobi_doo at yahoo dot com>
Delta File
+6 -0 head/sys/dev/usb/wlan/if_urtwn.c
+6 -0 1 file

FreeBSD — head/sbin/camcontrol camcontrol.c

Add information about supported NCQ functionality to camcontrol identify.

MFC after:        2 weeks
Delta File
+26 -0 head/sbin/camcontrol/camcontrol.c
+26 -0 1 file

FreeBSD — head/share/mk bsd.init.mk

Include bsd.opts.mk before Makefile.inc so Makefile.inc can do things
based on MK_xxx symbols. Continue to include bsd.own.mk after
Makefile.inc to preserve current behavior.
Delta File
+6 -3 head/share/mk/bsd.init.mk
+6 -3 1 file

FreeBSD — head/tools/tools/nanobsd nanobsd.sh, head/tools/tools/nanobsd/dhcpd common

Hoist CR convenience function up from dhcpd config and use
appropriately in nanobsd.sh. Also create CR0 for a errors allowed
version.

FreeBSD — head/tools/tools/nanobsd/dhcpd os-base common

Switch to using pkgng for all package management. Add necessary
bootstrap step for pkg. Fix a bunch of annoying little nits. We can
now build fat or thin images successfully for the dhcpd config.

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

Add a routine for easy workaround any umount issues w/o hacking
nanobsd.sh.
Delta File
+10 -4 head/tools/tools/nanobsd/nanobsd.sh
+10 -4 1 file

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

Introduce NANO_PKG_META_BASE to allow moving where metadata for
packages is stored.

Sponsored by: Netflix

FreeBSD — head/tools/tools/nanobsd nanobsd.sh

No need for true here, remove it.

Sponsored by: Netflix

FreeBSD — head/tools/tools/nanobsd/dhcpd common

Override the parallel make target to use all CPUs.

FreeBSD — head/sys/net80211 ieee80211_power.c ieee80211_sta.c

Begin fleshing out support for net80211 provided (legacy) sleep management.

This transitions the VAP in and out of SLEEP state based on:

* whether there's been an active transmission in the last (hardcoded) 500ms;
* whether the TIM from the AP indicates there is data available.

It uses the beacon reception to trigger the active traffic check.
This way there's no further timer running to wake up the CPU
from its own sleep states.

Right now the VAP isn't woken up for multicast traffic - mostly because
the only NIC I plan on doing this for right will auto wakeup and stay
awake for multicast traffic indicated in the TIM.  So I don't have
to manually keep the hardware awake.

This doesn't do anything if the NIC doesn't advertise it implements
the new SWSLEEP capability AND if the VAP doesn't have powersave
enabled.

It also doesn't do much with ath(4) as it doesn't currently implement
the SLEEP state.

Tested:

* AR5416, STA mode (with local ath(4) changes)

FreeBSD — head/sys/net80211 ieee80211_var.h

Add a capability to indicate that the net80211 stack should be doing
RUN->SLEEP->RUN transitions for station mode sleep management.
Delta File
+1 -0 head/sys/net80211/ieee80211_var.h
+1 -0 1 file

FreeBSD — head/sys/sys ata.h

Add some new ATA defines for SATA 3.1 spec
Delta File
+5 -0 head/sys/sys/ata.h
+5 -0 1 file

FreeBSD — head/cddl/contrib/opensolaris/lib/libzfs/common libzfs_dataset.c

Silence compiler warning due to missing return in idmap_id_to_numeric_domain_rid

FreeBSD — head/cddl/contrib/opensolaris/cmd/zfs zfs_main.c

Eliminated optarg global being used outside of the function which called getopt

MFC after:        2 weeks

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev.c, head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys spa.h

Add the ability to set a minimum ashift size for ZFS pool creation or root level
vdev addition.

Change max_auto_ashift sysctl to error when an invalid value is requested instead
of silently limiting it.

FreeBSD — head/sys/dev/acpica/Osd OsdSchedule.c

Exposed debug.acpi.max_tasks and debug.acpi.max_threads via sysctls so their
values can be viewed.

FreeBSD — stable/9/share/man/man4 urndis.4

MFC r264731:
  urndis(4) will first appear in 9.3-RELEASE.

Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 stable/9/share/man/man4/urndis.4
+2 -2 1 file

FreeBSD — stable/10/share/man/man4 urndis.4

MFC r264731:
  urndis(4) will first appear in 9.3-RELEASE.

Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 stable/10/share/man/man4/urndis.4
+2 -2 1 file

FreeBSD — head/sys/amd64/vmm/intel vmx.c

Allow the guest to read the TSC via MSR 0x10.
NetBSD/amd64 does this, as does Linux on AMD CPUs.

Reviewed by:        neel
MFC after:        3 weeks
Delta File
+7 -1 head/sys/amd64/vmm/intel/vmx.c
+7 -1 1 file

FreeBSD — head/sys/fs/nfsserver nfs_nfsdstate.c

Remove an unnecessary level of indirection for an argument.
This simplifies the code and should avoid the clang sparc
port from generating an abort() call.

Requested by:        rdivacky
Submitted by:        jhb
MFC after:        2 weeks

FreeBSD — head/sys/net80211 ieee80211_output.c

Allow frames to be transmitted in either RUN or SLEEP state

Frames transmitted during SLEEP state should be queued in the
power save queue before waking the unit up.  Otherwise DHCP
requests and such will be dropped if the NIC is asleep - the
NIC will wake up but not transmit the frame.
Delta File
+25 -10 head/sys/net80211/ieee80211_output.c
+25 -10 1 file

FreeBSD — head/sys/net80211 ieee80211.c

Allow the state of the interface to be "up" if the VAP is in SLEEP state.

Without this, the carrier will drop when the NIC transitions to SLEEP
and nothing will ever transmit.
Delta File
+2 -1 head/sys/net80211/ieee80211.c
+2 -1 1 file

FreeBSD — head/sys/fs/nfsclient nfs_clvnops.c

Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.)
so that it only does the RPC for names that are answered by the RPC.
Doing the RPC for other names is harmless, but unnecessary.

MFC after:        2 weeks

FreeBSD — head/usr.sbin/bsdinstall/scripts zfsboot

Update zfsboot to coincide with r264840 to bsdconfig(8) adding
GEOM support (thereby adding GEOM support to the disk selection
menu of bsdinstall(8)'s `zfsboot' module updated herein).

MFC after:        1 week
X-MFC-with:        264840

FreeBSD — head/usr.sbin/bsdconfig/dot dot, head/usr.sbin/bsdconfig/examples browse_packages_http.sh browse_packages_ftp.sh

Implement GEOM based media device classification. You'll notice a few
different things from this commit:
+ More devices. Devices that were previously ignored are now present.
+ Faster device scanning. "There is no try, only Do" -- f_device_try()
  is no longer the basis of device scanning as GEOM provides [nearly]
  all devices (doesn't provide network devices).
+ More information available as non-root. Usually you have to be root
  to do things like taste filesystems, and that limits the amount of
  information available to non-root users; with GEOM, we see all even
  running unprivileged as the brunt of information (except for so-
  called ``dangerously dedicated'' file systems) is represented by the
  `kern.geom.confxml' sysctl(8) MIB.
NB: Only really useful for external scripts that use the API and run as
    non-root; where this code is used in bsdconfig(8) and bsdinstall(8)
    you are running as root so can detect even ``dangerously dedicated''
    file systems that are not present in GEOM; e.g., no PART class for
    a DOS filesystem written directly to disk without partition table).
+ No more use of legacy tools such as diskinfo(8) to get disk capacity
  or fdisk(8) to see partitions.

MFC after:        1 week

FreeBSD — head/sys/netinet sctp_indata.c

Don't free an mbuf twice. This only happens in very rare error
cases where the peer sends illegal sequencing information in
DATA chunks for an existing association.

MFC after: 3 days.
Delta File
+15 -1 head/sys/netinet/sctp_indata.c
+15 -1 1 file