summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * MFS r320581: MFC r320494: Fix double free by reverting r300385 anddelphij2017-07-031-3/+1
| | | | | | | | | | | | r300624 which was false positive reported by cppcheck. Approved by: re (kib)
| * MFC r320316:kib2017-07-011-4/+4
| | | | | | | | | | | | Do not try to unmark MAP_ENTRY_IN_TRANSITION marked by other thread. Approved by: re (gjb)
| * release.ent:gjb2017-06-304-153/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update versions, and switch from 'snapshot' to 'release'. errata/article.xml: - Prune stale entries from 11.0-RELEASE. - Bump copyright date. relnotes/article.xml: - Remove several empty sections. readme/article.xml: - Fix a malformed URL. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * - Copy stable/11@r320475 to releng/11.1 as part of the 11.1-RELEASEgjb2017-06-292-2/+2
| | | | | | | | | | | | | | | | | | | | cycle. - Prune svn:mergeinfo from the new branch. - Bump __FreeBSD_version. - Rename releng/11.1 to RC1. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r320372:markj2017-06-291-1/+2
| | | | | | | | | | | | Fix a memory leak in ses_get_elm_devnames(). Approved by: re (gjb)
| * MFC r320353: linux_getdents, linux_readdir: fix mismatch between malloc and ↵avg2017-06-291-4/+4
| | | | | | | | | | | | free tags Approved by: re (gjb)
| * MFC r320263:tuexen2017-06-285-72/+89
| | | | | | | | | | | | | | | | | | | | | | | | Use a longer buffer for messages in ERROR chunks. MFC r320264: Check the length of a COOKIE chunk before accessing fields in it. MFC r320300: Handle sctp_get_next_param() in a consistent way. Approved by: re (marius@)
| * MFC r315518alc2017-06-281-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessary calls to vm_map_protect() in elf_load_section(). Typically, when elf_load_section() unconditionally passed VM_PROT_ALL to elf_map_insert(), it was needlessly enabling execute access on the mapping, and it would later have to call vm_map_protect() to correct the mapping's access rights. Now, instead, elf_load_section() always passes its parameter "prot" to elf_map_insert(). So, elf_load_section() must only call vm_map_protect() if it needs to remove the write access that was temporarily granted to perform a copyout(). Approved by: re (kib)
| * MFC r320202:kib2017-06-281-3/+4
| | | | | | | | | | | | | | Call pmap_copy() only for map entries which have the backing object instantiated. Approved by: re (delphij)
| * MFC r320201:kib2017-06-281-0/+2
| | | | | | | | | | | | | | Assert that the protection of a new map entry is a subset of the max protection. Approved by: re (delphij)
| * MFC r314310alc2017-06-284-60/+81
| | | | | | | | | | | | | | | | | | | | Refine the fix from r312954. Specifically, add a new PDE-only flag, PG_PROMOTED, that indicates whether lingering 4KB page mappings might need to be flushed on a PDE change that restricts or destroys a 2MB page mapping. This flag allows the pmap to avoid range invalidations that are both unnecessary and costly. Approved by: re (kib)
| * MFC r320123:ken2017-06-271-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a potential sleep while holding a mutex in the sa(4) driver. If the user issues a MTIOCEXTGET ioctl, and the tape drive in question has a serial number that is longer than 80 characters, we malloc a buffer in saextget() to hold the output of cam_strvis(). Since a mutex is held in that codepath, doing a M_WAITOK malloc could lead to sleeping while holding a mutex. Change it to a M_NOWAIT malloc and bail out if we fail to allocate the memory. Devices with serial numbers longer than 80 bytes are very rare (I don't recall seeing one), so this should be a very unusual case to hit. But it is a bug that should be fixed. sys/cam/scsi/scsi_sa.c: In saextget(), if we need to malloc a buffer to hold the output of cam_strvis(), don't wait for the memory. Fail and return an error if we can't allocate the memory immediately. PR: kern/220094 Submitted by: Jia-Ju Bai <baijiaju1990@163.com> Sponsored by: Spectra Logic Approved by: re (gjb)
| * MFC r320307:kib2017-06-271-1/+1
| | | | | | | | | | | | Fix indent. Approved by: re (marius)
| * MFC r320314:kib2017-06-271-4/+1
| | | | | | | | | | | | Remove the description of MAP_HASSEMAPHORE. Approved by: re (marius)
| * MFC r320313:kib2017-06-271-1/+1
| | | | | | | | | | | | Fix typo. Approved by: re (marius)
| * MFC r320175davidcs2017-06-262-0/+3
| | | | | | | | | | | | Add pkts_cnt_oversized to stats. Approved by: re(marius)
| * MFC of 320176:mckusick2017-06-261-1/+2
| | | | | | | | | | | | | | | | | | Allow '_' in labels when specifying -L to newfs. PR: 220163 Reported by: Keve Nagy Reviewed by: kib Approved by: re@ (Xin Li)
| * MFC r320121:kib2017-06-261-3/+1
| | | | | | | | | | | | | | Ignore the P_SYSTEM process flag, and do not request VM_MAP_WIRE_SYSTEM mode when wiring the newly grown stack. Approved by: re (marius)
| * MFC r320125:kib2017-06-263-34/+25
| | | | | | | | | | | | Fix batched unload for DMAR busdma in qi mode. Approved by: re (marius)
| * MFC r320108:kib2017-06-261-1/+3
| | | | | | | | | | | | | | Allow negative aio_offset only for the read and write LIO ops on device nodes. Approved by: re (marius)
| * MFC r320259: jedec_ts: read device id from the correct registeravg2017-06-261-1/+1
| | | | | | | | Approved by: re (marius)
| * MFC 320184sephe2017-06-261-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hyperv/storvsc: Reduce log verbosity On some windows hosts TEST_UNIT_READY command will return SRB_STATUS_ERROR and sense data "NOT READY asc:3a,1 (Medium not present - tray closed)", this occurs periodically, and not hurt anything else. So, we prefer to ignore this kind of errors. Approved by: re (delphij) PR: 219973 Submitted by: Hongjiang Zhang <hongzhan microsoft com> Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11271
| * MFC r320242, r320256:cy2017-06-261-75/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update leap-seconds to leap-seconds.3676924800. As per https://datacenter.iers.org/eop/-/somos/5Rgv/latest/16: INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS) SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE SERVICE DE LA ROTATION TERRESTRE OBSERVATOIRE DE PARIS 61, Av. de l'Observatoire 75014 PARIS (France) Tel. : 33 (0) 1 40 51 23 35 FAX : 33 (0) 1 40 51 22 91 Internet : services.iers@obspm.fr Paris, 9 January 2017 Bulletin C 53 To authorities responsible for the measurement and distribution of time INFORMATION ON UTC - TAI NO leap second will be introduced at the end of June 2017. The difference between Coordinated Universal Time UTC and the International Atomic Time TAI is : from 2017 January 1, 0h UTC, until further notice : UTC-TAI = -37 s Leap seconds can be introduced in UTC at the end of the months of December or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every six months, either to announce a time step in UTC, or to confirm that there will be no time step at the next possible date. Christian BIZOUARD Director Earth Orientation Center of IERS Observatoire de Paris, France Obtained from: ftp://time.nist.gov/pub/leap-seconds.3676924800 Approved by: re@ (delphij@)
| * Fix an incorrect revision number.gjb2017-06-251-1/+1
| | | | | | | | | | | | Submitted by: David Marec <david dot marec at @davenulle dot .org> Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r320216: Fix use-after-free introduced in r300388.delphij2017-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | In r300388, endnetconfig() was called on nc_handle which would release the associated netconfig structure, which means tmpnconf->nc_netid would be a use-after-free. Solve this by doing endnetconfig() in return paths instead. Reported by: jemalloc via kevlo Reviewed by: cem, ngie (earlier version) Approved by: re (kib)
| * MFC r320052:kib2017-06-241-21/+25
| | | | | | | | | | | | Do not leak syslog_mutex on cancellation. Approved by: re (marius)
| * MFC r320051:kib2017-06-241-3/+8
| | | | | | | | | | | | Correct translations between abridged and full x87 tags. Approved by: re (marius)
| * MFC r320206,r320207:bdrewery2017-06-231-8/+10
| | | | | | | | | | | | | | | | | | | | r320206: Follow-up r308602: Don't add missing headers to .depend.tables.h. r320207: Tweak r320206: Still create the TABLE but not the .depend entry for missing headers. Approved by: re (gjb)
| * MFC r320174,r320204:bdrewery2017-06-233-6/+7
| | | | | | | | | | | | | | | | | | | | r320174: Fix 'make clean all' to work again. r320204: Fix various 'make *clean *all *install' combinations. PR: 219819 Approved by: re (gjb)
| * MFC r319861:bdrewery2017-06-231-1/+1
| | | | | | | | | | | | META_MODE: NO_FILEMON should imply nofilemon. Approved by: re (gjb)
| * MFC r319862,r319996,r320030:bdrewery2017-06-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | r319862: META_MODE: Show .ERROR_CMD in error. r319996: WITH_META_MODE: Don't try showing command if .ERROR_META_FILE is empty. r320030: WITH_META_MODE: End each ERROR_CMD CMD line with ';'. Approved by: re (gjb, marius)
| * MFC r320012,r320028,r320061,r320118:bdrewery2017-06-234-159/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r320012: Fix LIBAMU location to fix 'stale .depend' rebuilds in usr.sbin/amd. r320028: Fix more incorrect library directories fix 'stale .depend' rebuilds. r320061: Fix Makefiles which override LIBDIR to not add incorrect dependencies into .depend. r320118: Follow-up r320061: Need to respect make.conf/env LIBDIR overrides. Approved by: re (gjb)
| * MFC r320038:kib2017-06-231-7/+8
| | | | | | | | | | | | Style. Approved by: re (gjb)
| * Update stable/11 to BETA3 as part of the 11.1-RELEASE cycle.gjb2017-06-231-1/+1
| | | | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r320124:markj2017-06-223-9/+13
| | | | | | | | | | | | Fix the !TD_IS_IDLETHREAD(curthread) locking assertions. Approved by: re (kib)
| * Document r320218, primes(6) updated to new limit of 2^64-1.gjb2017-06-221-0/+11
| | | | | | | | | | | | | | Document r320164, qlnxe(4) firmware and hardware support updates. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
| * MFC r319975:kib2017-06-221-25/+21
| | | | | | | | | | | | Some minor improvements to vnode_pager_generic_putpages(). Approved by: re (marius)
| * MFC r319491:cperciva2017-06-221-0/+3
| | | | | | | | | | | | | | | | | | Skip setting the MTU in the netfront driver (xn# devices) if the new MTU is the same as the old MTU. In particular, on Amazon EC2 "T2" instances without this change, the network interface is reinitialized every 30 minutes due to the MTU being (re)set when a new DHCP lease is obtained. Approved by: re (delphij)
| * MFC r31956[12]: Teach primes(6) to enumerate primes up to 2^64 - 1.cperciva2017-06-224-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (delphij) Relnotes: primes(6) now enumerates primes beyond 3825123056546413050, up to a new limit of 2^64 - 1. > Description of fields to fill in above: 76 columns --| > PR: If and which Problem Report is related. > Submitted by: If someone else sent in the change. > Reported by: If someone else reported the issue. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > MFH: Ports tree branch name. Request approval for merge. > Relnotes: Set to 'yes' for mention in release notes. > Security: Vulnerability reference (one per line) or description. > Sponsored by: If the change was sponsored by an organization. > Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL needed). > Empty fields above will be automatically removed. _M . M usr.bin/factor/factor.6 M usr.bin/primes/primes.c M usr.bin/primes/primes.h M usr.bin/primes/spsp.c
| * MFC r320183: Reduce code duplication in rpc.lockd.delphij2017-06-221-195/+76
| | | | | | | | | | | | | | | | | | | | Reuse create_service code instead of duplicating it in lookup_addresses for kernel NLM. As a (good) side effect this also fixed a few issues that were already fixed in the former but never applied to the latter. Approved by: re (gjb)
| * MFC 319702: Fix an off-by-one error in the VM page array on some systems.jhb2017-06-211-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r313186 changed how the size of the VM page array was calculated to be less wasteful. For most systems, the amount of memory is divided by the overhead required by each page (a page of data plus a struct vm_page) to determine the maximum number of available pages. However, if the remainder for the first non-available page was at least a page of data (so that the only memory missing was a struct vm_page), this last page was left in phys_avail[] but was not allocated an entry in the VM page array. Handle this case by explicitly excluding the page from phys_avail[]. Approved by: re (kib)
| * MFC r318968:brooks2017-06-202-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | Add missing usage and getopt(3) options - Add the missing option 'n' to the getopt(3) string - Add the missing options 'libxo' and 'N' to the usage message - Add the missing options 'M' and 'N' to the man-page Submitted by: Keegan Drake H.P. <kdrakehp@zoho.com> Differential Revision: https://reviews.freebsd.org/D10915 Approved by: re (gjb)
| * MFC r319964davidcs2017-06-2076-59909/+65201
| | | | | | | | | | | | | | | | Upgrade STORMFW to 8.30.0.0 and ecore version to 8.30.0.0 Add support for pci deviceID 0x8070 for QLE41xxx product line which supports 10GbE/25GbE/40GbE Approved by: re(gjb)
| * MFC r319932:markj2017-06-201-22/+40
| | | | | | | | | | | | Fix handling of subpage BIO_WRITE and BIO_DELETE requests on swap MDs. Approved by: re (gjb)
| * MFC 319490: Remove stale cap_rights_get(2) manpage.jhb2017-06-202-1/+2
| | | | | | | | | | | | | | | | The documentation moved to section 3 several years ago, but 'man cap_rights_get' pulls up cap_rights_limit(2) (which is MLINKed to cap_rights_get.2) instead of cap_rights_get(3). Approved by: re (gjb)
| * MFC 318996: Add descriptions for AES-GCM IPSec authentication (AH) counters.jhb2017-06-201-0/+9
| | | | | | | | | | Approved by: re (gjb) Sponsored by: Chelsio Communications
| * MFC r319916:kib2017-06-201-1/+0
| | | | | | | | | | | | Remove stray return. Approved by: re (marius)
| * MFC r319895:ae2017-06-202-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | Resurrect RTF_RNH_LOCKED flag and restore ability to call rtalloc1_fib() with acquired RIB lock. This fixes a possible panic due to trying to acquire RIB rlock when it is already exclusive locked. PR: 215963, 215122 Sponsored by: Yandex LLC Approved by: re (delphij)
| * Direct commit to stable/11 to correctly setting the EIAC and IMSsbruno2017-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | registers to the same values when processing interrupts. This reverts a change made in r286831 that was not fully reverted in r311979 This resolves PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211219 PR: 211219 Submitted by: Franco Fitchner <franco@opnsense.org> Approved by: re (marius)
| * MFC r318867: fix vmxnet3 crash when LRO is enabledavg2017-06-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The crash can occur when all of the following conditions are true: - a packet consists of multiple segments (requires LRO enabled) - there has been a failure to allocate an mbuf for the packet and the packet has to be dropped - a host (vmware) still owned at least one segment of the packet, so the driver had to wait for another interrupt to proceed to discarding the remaining segment(s) Reviewed by: rstone Approved by: re (gjb) Sponsored by: Panzura
OpenPOWER on IntegriCloud