Displaying 1 50 of 245,968 commits (0.018s)

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_tx.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ hselasky - f1424fbc - 2016-09-23 08:35:56
MFC r305877:
mlx5en: Fix duplicate mbuf free-by-code.

When mlx5e_sq_xmit() returns an error code and the mbuf pointer is set,
we should not free the mbuf, because the caller will keep the mbuf in
the drbr. Make sure the mbuf pointer is correctly set upon function
exit.

Sponsored by:        Mellanox Technologies
Delta File
+3 -6 sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
+3 -6 1 file

PC-BSD — sys/dev/mlx5/mlx5_en en.h mlx5_en_main.c

MFC r305876:
mlx5en: Remove unused pdev pointer.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c

MFC r305875:
mlx5en: Verify port type is ethernet before creating network device

Else the mlx5en driver might attach to infiniband ports.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c

MFC r305874:
mlx5en: Allow setting the software MTU size below 1500 bytes

The hardware MTU size can't be set to a value less than 1500 bytes due
to side-band management support. Allow setting the software MTU size
below 1500 bytes, thus creating a mismatch between hardware and
software MTU sizes.

Sponsored by:        Mellanox Technologies
Delta File
+12 -12 sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+12 -12 1 file

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c en.h

MFC r305873:
mlx5en: Factor out common sendqueue code for use with rate limiting SQs.

Try to reuse code to setup sendqueues when possible by making some static
functions global. Further split the mlx5e_close_sq_wait() function to
separate out reusable parts.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en en.h mlx5_en_main.c

MFC r305872:
mlx5en: Properly declare doorbell lock for 32-bit CPUs.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en en.h mlx5_en_main.c

MFC r305871:
mlx5en: Optimise away duplicate UAR pointers.

This change also reduces the size of the mlx5e_sq structure so that the last
queue_state element will fit into the previous cacheline and then the mlx5e_sq
structure becomes one cacheline less for amd64.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c en.h

MFC r305870:
mlx5en: Make the mlx5e_open_cq() and mlx5e_close_cq() functions global.

Make some functions and structures global to allow for code reuse
when creating rate limiting sendqueues.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c

MFC r305869:
mlx5en: Minor completion queue control path code refactor.

Move setting of CQ moderation mode together with the other
CQ moderation parameters. Pass completion event vector as
a separate argument to mlx5e_open_cq(), because its value is
different for each call. Pass mlx5e_priv pointer instead of
mlx5e_channel pointer so that code can be used by rate
limiting sendqueues.

Sponsored by:        Mellanox Technologies
Delta File
+39 -44 sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+39 -44 1 file

PC-BSD — sys/dev/mlx5/mlx5_en mlx5_en_main.c en.h

MFC r305868:
mlx5en: Separate the sendqueue from using the mlx5e_channel structure.

This change allows for reusing the transmit path for so called
rate limited senqueues. While at it optimise some pointer lookups
in the fast path.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/mlx5 mlx5_ifc.h device.h, sys/dev/mlx5/mlx5_core mlx5_vport.c mlx5_qp.c

MFC r305867:
Update the MLX5 core module:
- Add new firmware commands and update existing ones.
- Add more firmware related structures and update existing ones.
- Some minor fixes, like adding missing \n to some prints.

Sponsored by:        Mellanox Technologies

PC-BSD — sys/dev/hyperv/storvsc hv_storvsc_drv_freebsd.c

MFC 306015
    hyperv/storvsc: Fix SRB length setting.

    This fixes disk discovery issue on WS2008R2 Hyper-V, which plagued
    us since 10.2-release.

    Reported by:    many
    Sponsored by:   Microsoft

PC-BSD — usr.bin/bsdiff/bspatch bspatch.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ emaste - d6f211b5 - 2016-09-22 21:16:54
MFC bspatch Capsicumization and improvements

r304691: bspatch: apply style(9)

Make style changes (and trivial refactoring of open calls) now in order
to reduce noise in diffs for future capsicum changes.

r304807 (allanjude): Capsicumize bspatch

Move all of the fopen() and open() calls to the top of main()

Restrict each FD to least privilege (read/seek only, write only, etc)

cap_enter(), and make all except the output FD read/seek only.

r304821: bspatch: remove output file in the case of error

r305486: bspatch: add sanity checks on sizes to avoid integer overflow

Note that this introduces an explicit 2GB limit, but this was already
implicit in variable and function argument types.

This is based on the "non-cryptanalytic attacks against freebsd
update components" anonymous gist. Further refinement is planned.


    [12 lines not shown]
Delta File
+153 -75 usr.bin/bsdiff/bspatch/bspatch.c
+153 -75 1 file

PC-BSD — usr.bin/bsdiff/bsdiff bsdiff.c, usr.bin/bsdiff/bspatch bspatch.c

MFC r264823 (ed): Make usage printing more consistent with other tools.

- Introduce a separate usage() function.
- Don't use argv[0]. Directly name the application, as we do elsewhere.
- Don't prepend the application name.
- Don't print two newlines.

Also apply the unnecessary semicolon cleanup from r298089

PC-BSD — bin/cat cat.c

MFC r305841

Implement multibyte encoding support for -v with fallback
Delta File
+31 -6 bin/cat/cat.c
+31 -6 1 file

PC-BSD — crypto/openssl CHANGES CONTRIBUTING, crypto/openssl/apps x509.c passwd.c

Merge OpenSSL 1.0.1u.

PC-BSD — sys/ufs/ufs ufs_vnops.c

MFC r305601:
On rename, do not perform truncation of dirhash if the vnode truncation failed.
Delta File
+12 -2 sys/ufs/ufs/ufs_vnops.c
+12 -2 1 file

PC-BSD — sys/ufs/ffs ffs_softdep.c

MFC r305599:
Do not leak transient ENOLCK error from flush_newblk_dep() loop.
Delta File
+1 -0 sys/ufs/ffs/ffs_softdep.c
+1 -0 1 file

PC-BSD — sys/ufs/ufs ufs_lookup.c

MFC r305598:
When logging unlikely UFS_TRUNCATE() failure in ufs_direnter(),
include error code.
Delta File
+2 -1 sys/ufs/ufs/ufs_lookup.c
+2 -1 1 file

PC-BSD — sys/ufs/ufs ufs_lookup.c

MFC r305597:
When extending directory inode in ufs_direnter(), adjust i_endoff.
Delta File
+1 -0 sys/ufs/ufs/ufs_lookup.c
+1 -0 1 file

PC-BSD — sys/ufs/ufs ufs_quota.c

MFC r305595:
In dqsync(), when called from quotactl(), um_quotas entry might appear
cleared since nothing prevents completion of the parallel quotaoff.
There is nothing to sync in this case, and no reason to panic.
Delta File
+7 -2 sys/ufs/ufs/ufs_quota.c
+7 -2 1 file

PC-BSD — sys/ufs/ffs ffs_softdep.c

MFC r305594:
In softdep_prealloc(), return early not only for snapshots, but for
the quota files as well.
Delta File
+6 -3 sys/ufs/ffs/ffs_softdep.c
+6 -3 1 file

PC-BSD — sys/ufs/ufs ufs_lookup.c

MFC r305593:
There is no need to upgrade the last dvp lock on lookups for modifying
operations.  Instead of upgrading, assert that the lock is exclusive.
Explain the cause in comments.
Delta File
+19 -32 sys/ufs/ufs/ufs_lookup.c
+19 -32 1 file

PC-BSD — sys/ufs/ffs ffs_vfsops.c ffs_extern.h

MFC r305592:
Partially lift suspension when ffs_reload() finished with cgs and
going to re-read inodes.

PC-BSD — sys/cam cam_periph.c

MFC r305610: Don't report to devd statuses that CAM doesn't consider errors.

Some statuses, such as "ATA pass through information available", are part
part of absolutely normal operation and do not worth reporting.
Delta File
+1 -1 sys/cam/cam_periph.c
+1 -1 1 file

PC-BSD — sys/cam/scsi scsi_all.c

MFC r305609: "Extended copy information available" is not an error either.
Delta File
+1 -1 sys/cam/scsi/scsi_all.c
+1 -1 1 file

PC-BSD — sys/cam/scsi scsi_all.c

MFC r305608: "ATA pass through information available" is not an error.
Delta File
+1 -1 sys/cam/scsi/scsi_all.c
+1 -1 1 file

PC-BSD — sys/pci intpm.c

MFC r305602: intpm: fix attachment to supported AMD FCHs
Delta File
+3 -1 sys/pci/intpm.c
+3 -1 1 file

PC-BSD — contrib/binutils/ld lexsup.c

MFC r275240 (bapt): Implement --no-fatal-warnings

Implement --no-fatal-warning for compatibility with newer ld
what ever order the options are passed to ld(1) the --no-fatal-warning always
disable --fatal-warning
Delta File
+10 -0 contrib/binutils/ld/lexsup.c
+10 -0 1 file

PC-BSD — share/man/man4 amdsbwd.4

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ avg - 2a5296e6 - 2016-09-21 16:17:22
MFC r305600: amdsbwd.4: update supported hardware list
Delta File
+17 -2 share/man/man4/amdsbwd.4
+17 -2 1 file

PC-BSD — share/man/man4 intpm.4

MFC r305596: intpm.4 update supported hardware list
Delta File
+5 -1 share/man/man4/intpm.4
+5 -1 1 file

PC-BSD — share/man/man4 amdsmb.4 intpm.4

MFC r303113: Cross-link some SMBus controller drivers man pages.

PC-BSD — share/man/man4 intpm.4

MFC r303111: Document list of supported chipsets.
Delta File
+23 -9 share/man/man4/intpm.4
+23 -9 1 file

PC-BSD — sys/dev/amdsbwd amdsbwd.c

MFC r305535: amdsbwd: add support for FCH in family 16h models 30h-3Fh processors
Delta File
+75 -12 sys/dev/amdsbwd/amdsbwd.c
+75 -12 1 file

PC-BSD — sys/amd64/amd64 machdep.c

MFC r305939:
Remove trailing space.
Delta File
+1 -1 sys/amd64/amd64/machdep.c
+1 -1 1 file

PC-BSD — etc/rc.d hostid

Convert hostuuid string to lower case, use dmidecode -s instead of awk.
(cherry picked from commit bae2452d65a09cafad896110d84fac1f17b4ace2)

Ticket: #17626
Delta File
+1 -1 etc/rc.d/hostid
+1 -1 1 file

PC-BSD — etc/rc.d hostid

Convert hostuuid string to lower case, use dmidecode -s instead of awk.
Delta File
+1 -1 etc/rc.d/hostid
+1 -1 1 file

PC-BSD — src-sh/pcbsd-utils/pc-extractoverlay/ports-overlay/usr/local/share/xsessions 02Lumina.desktop

Backport fix for new Lumina on 10.3

PC-BSD — etc/rc.d hostid

Fix UUID generation/setting.

Ticket: #17626
(cherry picked from commit 2262011b3b4b64c21a7477450005ac0aa03659ac)
Delta File
+1 -1 etc/rc.d/hostid
+1 -1 1 file

PC-BSD — etc/rc.d hostid

Fix UUID generation/setting.

Ticket: #17626
Delta File
+1 -1 etc/rc.d/hostid
+1 -1 1 file

PC-BSD — src-sh/pcbsd-utils/pc-extractoverlay/ports-overlay/usr/local/share/xsessions 02Lumina.desktop

Backport fix for new Lumina on 10.3

PC-BSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c

Merge remote-tracking branch 'origin/FIX-17542' into 9.10-STABLE
∈ Wojciech Kloska - 8a993d53 - 2016-09-19 17:28:11
    Revert "UPDATED: silence too verbose attach warnings on encrypted GELI providers 
attach"
    
    This reverts commit c69c64b57fddd4d4ddd4ddba1f26a84f2a9c1668.

PC-BSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c

    Revert "UPDATED: silence too verbose attach warnings on encrypted GELI providers 
attach"
    
    This reverts commit c69c64b57fddd4d4ddd4ddba1f26a84f2a9c1668.

PC-BSD — usr.sbin/bhyve pci_e82545.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ araujo - 75b44fd1 - 2016-08-30 12:40:12
Invert calloc(3) argument order.

Reviewed by:        grehan, mav
MFC after:        1 week
Differential Revision:        https://reviews.freebsd.org/D7613

(cherry picked from commit faf49c548b144087ab5fa31eb27bc1aa8089552c)
Delta File
+1 -1 usr.sbin/bhyve/pci_e82545.c
+1 -1 1 file

PC-BSD — sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c

UPDATED: silence too verbose attach warnings on encrypted GELI providers attach

PC-BSD — share/man/man4 ddb.4, sys/kern kern_timeout.c kern_shutdown.c

MFC r301522 (by bz)

Implement a `show panic` command to DDB which will helpfully print the
panic string again if set, in case it scrolled out of the active
window.  This avoids having to remember the symbol name.

Also add a show callout <addr> command to DDB in order to inspect
some struct callout fields in case of panics in the callout code.
This may help to see if there was memory corruption or to further
ease debugging problems.

No objection by:    bz

PC-BSD — sys/net if_vlan.c

vlan: work around crash during network teardown

When tearing down all network devices on a system with
multiple vlans and multiple laggs, we hit a case where
a vlan interface either has its trunk killed, or has no
vlan at all (it's not entirely clear which, from the
crash data), at the time the interface's transmit
routine is called to send a packet.

(In this particular case, syslog-ng is attempting to send
a UDP packet to another system via the vlan.)

The code is already prepared to discard the packet if
the parent attached to the trunk is not up and running,
so as a band-aid to keep from crashing, if we're missing
an ifv or trunk, treat this the same way as "parent down"
(discarding the packet and returning ENETDOWN).

Ticket: #17542
Delta File
+12 -2 sys/net/if_vlan.c
+12 -2 1 file

PC-BSD — sys/dev/usb/input ums.c

Merge remote-tracking branch 'freebsd/stable/10' into freebsd10
∈ hselasky - 0042789f - 2016-09-15 08:35:46
MFC r305590:
Correctly map the USB mouse tilt delta values into buttons 5 and 6
instead of 3 and 4 which is used for the scroll wheel, according to
X.org.

PR:                170358
Delta File
+2 -2 sys/dev/usb/input/ums.c
+2 -2 1 file

PC-BSD — sys/x86/x86 identcpu.c

MFC r305744:
Fix typo in comment.
Delta File
+1 -1 sys/x86/x86/identcpu.c
+1 -1 1 file

PC-BSD — sys/vm swap_pager.c

MFC r305129:
Make swapoff reliable.
Delta File
+22 -9 sys/vm/swap_pager.c
+22 -9 1 file