Displaying 1 50 of 280,874 commits (0.065s)

FreeBSD — head/sys/net80211 ieee80211_scan_sta.c ieee80211_freebsd.h

Migrate the scan iterator lock typedefs out into ieee80211_freebsd.h.

This removes the final piece of freebsd-specific locking that snuck
into the tree - it's now all inside ieee80211_freebsd.h.

FreeBSD — head/sys/net80211 ieee80211_mesh.c ieee80211_freebsd.h

Migrate the 802.11s locks out into ieee80211_freebsd.h, so they can be
defined as platform specific bits.

This is to help make OS portability easier.

FreeBSD — stable/10/share/man/man9 psignal.9

MFH: r283114
  Fixup to the kern_psignal manpage

  r283105 misspelled kern_psignal as kernel_psignal in one occurrence, and
added trailing whitespace.

 While here, change 'call' to the more standard 'function', and say why
 the name was changed (taken from the commit message for r225617).

FreeBSD — stable/10/sys/sys elf_common.h

MFC r283110: Add GRP_COMDAT section group flag to ELF header

Sponsored by:        The FreeBSD Foundation
Delta File
+3 -0 stable/10/sys/sys/elf_common.h
+3 -0 1 file

FreeBSD — stable/10/share/man/man9 psignal.9

MFH: r283105
 Only several years late, catch the psignal man page up to the
 fact that psignal has been renamed to kern_psignal since 9.0.
Delta File
+18 -5 stable/10/share/man/man9/psignal.9
+18 -5 1 file

FreeBSD — head/sys/kern subr_taskqueue.c

MFuser/delphij/zfs-arc-rebase at r281754:

In r256613, taskqueue_enqueue_locked() have been modified to release the
task queue lock before returning.  In r276665, taskqueue_drain_all() will
call taskqueue_enqueue_locked() to insert the barrier task into the queue,
but did not reacquire the lock after it but later code expects the lock
still being held (e.g. TQ_SLEEP()).

The barrier task is special and if we release then reacquire the lock,
there would be a small race window where a high priority task could sneak
into the queue.  Looking more closely, the race seems to be tolerable but
is undesirable from semantics standpoint.

To solve this, in taskqueue_drain_tq_queue(), instead of directly calling
taskqueue_enqueue_locked(), insert the barrier task directly without
releasing the lock.
Delta File
+9 -10 head/sys/kern/subr_taskqueue.c
+9 -10 1 file

FreeBSD — head/sys/arm/broadcom/bcm2835 bcm2835_sdhci.c

Remove unused mutex and softc variables.

FreeBSD — head/share/mk src.libnames.mk

Considers cases when NO_SHARED?=[no|NO] as dynamically linking

This reduces overlinking for parts of the build system where NO_SHARED is
set to no/NO
Delta File
+1 -1 head/share/mk/src.libnames.mk
+1 -1 1 file

FreeBSD — stable/10/release/i386 make-memstick.sh

MFC r283307:
 Use mkimg(1) to create the i386 memstick images, similar to
 how is done for amd64.  The exception here is there is no
 EFI partition for i386.

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/sys/arm/conf ALPINE BEAGLEBONE

Ensure that all arm kernel configs contain ALT_BREAK_TO_DEBUGGER and not
BREAK_TO_DEBUGGER if they have a serial console (most do).  A burst of
serial line noise (such as unplugging a usb serial adapter) can look like
a break and drop a working system into the debugger.  The alt break sequence
(<CR>~^B) works fine on both serial and non-serial consoles.

FreeBSD — head/sys/kern sys_process.c kern_exit.c, head/sys/sys ktr_class.h

Add KTR tracing for some MI ptrace events.

Differential Revision:        https://reviews.freebsd.org/D2643
Reviewed by:        kib

FreeBSD — stable/10/release Makefile.mirrors

MFC r282785, r282787, r282789, r282790, r282791, r282792, r282793,
r282794, r282795, r282796, r282797, r282798, r282799, r283265,
r283266, r283268, r283271, r283272, r283298, r283302:

 Add a new file, Makefile.mirrors, which is intended to replace
 a 474-line kludge of a shell script to pre-create the directory
 hierarchy on ftp-master.

 This is not in any way connected to the build, and there is no
 intention to do so.  This only intent here is to try to make
 things a little bit easier.

 Always use the 'make install' directory as the source for images.
 For RE purposes, we use the default (/R within the chroot), so
 this helps avoid copying files multiple times and xz(1)-compressing
 additional times when not needed.

 Fix staging virtual machine images for ftp propagation.

 This Makefile is not for general consumption.

Sponsored by:        The FreeBSD Foundation
Delta File
+253 -0 stable/10/release/Makefile.mirrors
+253 -0 1 file

FreeBSD — head/sys/amd64/linux32 linux32_machdep.c, head/sys/compat/linux linux_emul.c

When I merged the lemul branch I missied kib@'s r282708 commit.
This is not the final fix as I need properly cleanup thread resources
before other threads suicide.

Tested by:        Ruslan Makhmatkhanov

FreeBSD — head/gnu/lib Makefile

ntp is now again libreadline free, so only build libreadline for gdb
Delta File
+1 -1 head/gnu/lib/Makefile
+1 -1 1 file

FreeBSD — head/usr.sbin/ntp config.h Makefile.inc, head/usr.sbin/ntp/ntp-keygen Makefile

Fix overlinking again after recent ntp updates
Fix building WITHOUT_OPENSSL

FreeBSD — head/sys/net80211 ieee80211_freebsd.c ieee80211_freebsd.h

Cleanup compat shims for FreeBSD versions that predate 10.0-RELEASE.
There are no plans to merge anything save a trivial bugfix to stable/9.

Discussed with:        adrian

FreeBSD — head/sys/dev/ath if_ath.c, head/sys/dev/bwi if_bwi.c

Change three methods in struct ieee80211com, namely ic_updateslot,
ic_update_mcast and ic_update_promisc, to pass pointer to the ieee80211com,
not to the ifnet.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.

FreeBSD — head/sys/net80211 ieee80211_freebsd.c

When sending RTM_IEEE80211_CSA, RTM_IEEE80211_RADAR, RTM_IEEE80211_CAC and
RTM_IEEE80211_RADIO routing messages, broadcast them on all vap interfaces
instead of sending them on parent.

Reviewed by:        adrian
Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.
Delta File
+32 -16 head/sys/net80211/ieee80211_freebsd.c
+32 -16 1 file

FreeBSD — head/sys/net80211 ieee80211_ioctl.c ieee80211_node.c

Convert malloc/free back to #define's, as part of OS portability work.

DragonflyBSD uses the FreeBSD wireless stack and drivers.  Their malloc()
API is named differently, so they don't have userland/kernel symbol
clashes like we do (think libuinet.)

So, to make it easier for them and to port to other BSDs/other operating
systems, start hiding the malloc specific bits behind defines in
ieee80211_freebsd.h.

DragonflyBSD can now put these portability defines in their local
ieee80211_dragonflybsd.h.

This should be a great big no-op for everyone running wifi.

TODO:

* kill M_WAITOK - some platforms just don't want you to use it
* .. and/or handle it returning NULL rather than waiting forever.
* MALLOC_DEFINE() ?
* Migrate the well-known malloc names (eg M_TEMP) to net80211
  namespace defines.

FreeBSD — head/sys/dev/ath if_ath.c, head/sys/dev/bwi if_bwi.c

Set ic_softc in all 802.11 drivers. Not required right now, but will be
used quite soon.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.

FreeBSD — head/sys/dev/wpi if_wpi.c if_wpivar.h

Update wpi(4) to use the new mgmt RX API.

FreeBSD — head/sys/dev/ath if_ath_rx.c if_athvar.h, head/sys/dev/wi if_wi.c if_wivar.h

Begin plumbing ieee80211_rx_stats through the receive path.

Smart NICs with firmware (eg wpi, iwn, the new atheros parts, the intel 7260
series, etc) support doing a lot of things in firmware.  This includes but
isn't limited to things like scanning, sending probe requests and receiving
probe responses.  However, net80211 doesn't know about any of this - it still
drives the whole scan/probe infrastructure itself.

In order to move towards suppoting smart NICs, the receive path needs to
know about the channel/details for each received packet.  In at least
the iwn and 7260 firmware (and I believe wpi, but I haven't tried it yet)
it will do the scanning, power-save and off-channel buffering for you -
all you need to do is handle receiving beacons and probe responses on
channels that aren't what you're currently on.  However the whole receive
path is peppered with ic->ic_curchan and manual scan/powersave handling.
The beacon parsing code also checks ic->ic_curchan to determine if the
received beacon is on the correct channel or not.[1]

So:

* add freq/ieee values to ieee80211_rx_stats;
* change ieee80211_parse_beacon() to accept the 'current' channel
  as an argument;
* modify the iv_input() and iv_recv_mgmt() methods to include the rx_stats;
* add a new method - ieee80211_lookup_channel_rxstats() - that looks up

    [38 lines not shown]

FreeBSD — vendor-sys/illumos/dist/uts/common/fs/zfs zfs_ioctl.c

5515 dataset user hold doesn't reject empty tags

Author:        Josef 'Jeff' Sipek <josef.sipek at nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov at nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov at nexenta.com>
Approved by: Matthew Ahrens <mahrens at delphix.com>

illumos/illumos-gate at 752fd8dabccac68d6d09f82f3bf3561e055e400b

FreeBSD — head/sys/dev/iwn if_iwn.c

Use ic_printf() instead of if_printf().
Delta File
+2 -3 head/sys/dev/iwn/if_iwn.c
+2 -3 1 file

FreeBSD — head/sys/dev/iwn if_iwn.c

Store softc in ic_softc and access it without using struct ifnet.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.
Delta File
+12 -11 head/sys/dev/iwn/if_iwn.c
+12 -11 1 file

FreeBSD — head/sys/net80211 ieee80211_var.h

Add void * member to struct ieee80211com, so that drivers can obtain their
softc without going through the struct ifnet.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.
Delta File
+1 -0 head/sys/net80211/ieee80211_var.h
+1 -0 1 file

FreeBSD — head/sys/net80211 ieee80211_radiotap.c

Remove unused include.

FreeBSD — head/sys/net80211 ieee80211.c ieee80211_dfs.c

Use name from ieee80211com instead of parent ifnet, in debugging printfs.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.

FreeBSD — head/sys/dev/ipw if_ipw.c

Don't compare array to NULL.

Found by:        clang
Delta File
+2 -5 head/sys/dev/ipw/if_ipw.c
+2 -5 1 file

FreeBSD — head/sys/dev/ath if_ath.c, head/sys/dev/bwi if_bwi.c

Make net80211 drivers supply their device name to the net80211 layer, so
that the latter doesn't need to go through struct ifnet to get their name.

Sponsored by:        Netflix
Sponsored by:        Nginx, Inc.

FreeBSD — head ObsoleteFiles.inc UPDATING, head/contrib/llvm/include/llvm/Target TargetCallingConv.h TargetLowering.h

Upgrade our copy of clang and llvm to 3.6.1 release.

This release contains the following cherry-picked revisions from
upstream trunk:

  226124 226151 226164 226165 226166 226407 226408 226409 226652
  226905 226983 227084 227087 227089 227208 227209 227210 227211
  227212 227213 227214 227269 227430 227482 227503 227519 227574
  227822 227986 227987 227988 227989 227990 228037 228038 228039
  228040 228188 228189 228190 228273 228372 228373 228374 228403
  228765 228848 228918 229223 229225 229226 229227 229228 229230
  229234 229235 229236 229238 229239 229413 229507 229680 229750
  229751 229752 229911 230146 230147 230235 230253 230255 230469
  230500 230564 230603 230657 230742 230748 230956 231219 231237
  231245 231259 231280 231451 231563 231601 231658 231659 231662
  231984 231986 232046 232085 232142 232176 232179 232189 232382
  232386 232389 232425 232438 232443 232675 232786 232797 232943
  232957 233075 233080 233351 233353 233409 233410 233508 233584
  233819 233904 234629 234636 234891 234975 234977 235524 235641
  235662 235931 236099 236306 236307

Please note that from 3.5.0 onwards, clang and llvm require C++11
support to build; see UPDATING for more information.

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

zfs: fixes for a full stream received into an existing dataset

- this should fail early unless the force flag is set
- if the force flag is set then any local modifications including
  snapshots should be undone

See:        https://www.illumos.org/issues/5912
See:        https://reviews.csiden.org/r/220/

Reviewed by:        mahrens, Paul Dagnelie <pcd at delphix.com>
MFC after:        15 days
Sponsored by:        ClusterHQ

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

dsl_dataset_promote_check: ensure that shared snaps do not become too long

... after they are transfered from the old origin to the new one.

See:        https://www.illumos.org/issues/5909
See:        https://reviews.csiden.org/r/219/

Reviewed by:        mahrens
MFC after:        10 days
Sponsored by:        ClusterHQ

FreeBSD — stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c, stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h

MFC r282475: zfs: do not hold an extra reference on a root vnode

FreeBSD — stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c, stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zfs_znode.h

MFC r282475: zfs: do not hold an extra reference on a root vnode

FreeBSD — stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_send.c

MFC r282473: dmu_recv_end_check: don't leak hold if dsl_destroy_snapshot_check_impl fails

FreeBSD — stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_send.c

MFC r282473: dmu_recv_end_check: don't leak hold if dsl_destroy_snapshot_check_impl fails

FreeBSD — stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_send.c

MFC r282632: MFV r282630: 5809 Blowaway full receive in v1 pool causes kernel panic

FreeBSD — stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_send.c

MFC r282632: MFV r282630: 5809 Blowaway full receive in v1 pool causes kernel panic

FreeBSD — head/gnu/lib Makefile

Unbreak build where WANT_GDB == "no', as libreadline is also used by ntpdc.
Delta File
+1 -1 head/gnu/lib/Makefile
+1 -1 1 file

FreeBSD — head/sys/x86/xen xenpv.c

xen: make sure xenpv bus is the last to attach

This is needed so other buses have a chance of attaching a real ISA bus, if
none is found xenpv will attach it.

Sponsored by: Citrix Systems R&D
Delta File
+6 -1 head/sys/x86/xen/xenpv.c
+6 -1 1 file

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

Remove excess Giant acquisition around the dounmount() call.

Sponsored by:        The FreeBSD Foundation
MFC after:        1 week

FreeBSD — head/share/man/man4 sfxge.4, head/sys/conf files.amd64 files

sfxge: add 7xxx NICs family support

Support 7xxx adapters including firmware-assisted TSO and VLAN tagging:

  - Solarflare Flareon Ultra 7000 series 10/40G adapters:
    - Solarflare SFN7042Q QSFP+ Server Adapter
    - Solarflare SFN7142Q QSFP+ Server Adapter

  - Solarflare Flareon Ultra 7000 series 10G adapters:
    - Solarflare SFN7022F SFP+ Server Adapter
    - Solarflare SFN7122F SFP+ Server Adapter
    - Solarflare SFN7322F Precision Time Synchronization Server Adapter

  - Solarflare Flareon 7000 series 10G adapters:
    - Solarflare SFN7002F SFP+ Server Adapter

Support utilities to configure adapters and update firmware.

The work is done by Solarflare developers
(Andy Moreton, Andrew Lee and many others),
Artem V. Andreev <Artem.Andreev at oktetlabs.ru> and me.

Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 weeks
Causually read by: gnn
Differential Revision: https://reviews.freebsd.org/D2618

FreeBSD — vendor-sys/illumos/dist/uts/common/dtrace fasttrap.c

5930 fasttrap_pid_enable() panics when prfind() fails in forking process
Reviewed by: Adam Leventhal <ahl at delphix.com>
Reviewed by: Gordon Ross <gordon.ross at nexenta.com>
Approved by: Richard Lowe <richlowe at richlowe.net>
Author: Bryan Cantrill <bryan at joyent.com>

illumos/illumos-gate at 9df7e4e12eb093557252d3bec029b5c382613e36

FreeBSD — vendor-sys/illumos/dist/uts/common/dtrace dtrace.c

3599 dtrace_dynvar tail calls can blow stack
Reviewed by: Adam Leventhal <ahl at delphix.com>
Reviewed by: Gordon Ross <gordon.ross at nexenta.com>
Approved by: Richard Lowe <richlowe at richlowe.net>
Author: Bryan Cantrill <bryan at joyent.com>

illumos/illumos-gate at d47448f09aae3aa1a87fc450a0c44638e7ce7b51

FreeBSD — head/sys/opencrypto cryptodeflate.c

Use the correct number of arguments for the
opencrypto:deflate:deflate_global:bad DTrace probe, which is defined to
have

MFC after:        1 week

FreeBSD — stable/10/sys/arm/arm machdep.c, stable/10/sys/boot/arm/uboot Makefile

MFC r283033, r283062, r283066, r283069:

  Do not set preload_addr_relocate for ARM.

  Refactor net_getparams() to make it easier to get params from sources other
  than bootp and rarp.

  Add a routine to obtain netboot parameters from the U-Boot env vars

  Enable the NETIF_OPEN_CLOSE_ONCE option for ubldr.

FreeBSD — head/sys/cddl/dev/dtrace/amd64 dtrace_asm.S, head/sys/cddl/dev/dtrace/i386 dtrace_asm.S

Remove unused references to calltrap.

MFC after:        3 days

FreeBSD — head/cddl/contrib/opensolaris/cmd/lockstat lockstat.1 lockstat.c

lockstat(1): document the -V option.

MFC after:        3 days

FreeBSD — head/share/man/man9 sleep.9

Remove a reference to the PBDRY flag, which itself was removed in r248470.

MFC after:        3 days
Delta File
+1 -14 head/share/man/man9/sleep.9
+1 -14 1 file