Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-28 | Merge two functions to lookup ELF sections by name. | Martin Pieuchot | |
ok claudio@, jasper@ | |||
2017-05-28 | Fix some spurious fatal firmware errors in iwm(4). | Stefan Sperling | |
If we are not in SCAN state anymore by the time hardware signals completion of a scan command, exit the scan completion handler immediately instead of calling ieee80211_end_scan(). Tested by tb@ and myself. ok mpi@ tb@ zhuk@ | |||
2017-05-28 | Remove unused flag IWM_FLAG_STOPPED. | Stefan Sperling | |
ok tedu@ of course | |||
2017-05-28 | Remove useless splnet()/splx() dances. | Martin Pieuchot | |
Data structures modified in the ioctl path are protected by the NET_LOCK(). ok sashan@ | |||
2017-05-28 | Protect the global array of interfaces with the NET_LOCK(). | Martin Pieuchot | |
ok sashan@ | |||
2017-05-28 | Rename ip_local() to ip_deliver() and give it the same parameters | Alexander Bluhm | |
as the pr_input functions. Add an assert that IPv4 delivery ends in IP proto done to assure that IPv4 protocol functions work like IPv6. OK mpi@ | |||
2017-05-28 | Use intr_disable()/intr_restore() to reduce differences with sparc64 | Martin Pieuchot | |
mp_lock. ok kettenis@, visa@ | |||
2017-05-28 | remove bogus atomic_swap_64 code from i386 | Jonathan Gray | |
xchg can't handle 64 bit values on i386. gcc errors if the code is called, clang errors if it is included. ok mlarkin@ kettenis@ | |||
2017-05-27 | Fix the carp mode 'balancing ip-stealth'. Set the link state UP | Alexander Bluhm | |
if at least one vhid is in state MASTER. from Florian Riehm; OK florian@ | |||
2017-05-27 | fix previous as noted by mpi, thx florian | Sebastian Benoit | |
2017-05-27 | move sending of pflow packet into a task, seperated from the data | Sebastian Benoit | |
collection by a mbuf queue. with help from mpi@ ok florian@ | |||
2017-05-27 | On i386 and amd64, atomic instructions include an implicit memory barrier. | Mark Kettenis | |
ok mikeb@, visa@, mpi@ | |||
2017-05-27 | Add membar_enter_after_atomic(9) and membar_exit_before_atomic(9) APIs to | Mark Kettenis | |
allow important optimizations on architectures where atomic instructions include and implied memory barrier. ok mikeb@, visa@, mpi@ | |||
2017-05-27 | nvme: Don't set prp1 for DEL_IOCQ | Stefan Fritsch | |
NVM_ADMIN_DEL_IOCQ does not need prp1 (just as NVM_ADMIN_DEL_IOSQ). Remove what is likely a cut'n'paste error from the *_ADD_* code. tested by claudio@ ok jmatthew@ | |||
2017-05-27 | Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE. | Claudio Jeker | |
Only pfkeyv2_send() needs the NET_LOCK() so grab it at the start and release at the end. This should allow to push the locks down in other places. OK mpi@, bluhm@ | |||
2017-05-27 | Protect the global list of softc with the NET_LOCK(). | Martin Pieuchot | |
ok sashan@ | |||
2017-05-27 | Protect the global list of softc with the NET_LOCK(). | Martin Pieuchot | |
While here remove superfluous splnet()/splx() in the ioctl routine. ok sashan@ | |||
2017-05-27 | Remove useless splnet()/splx() dances. | Martin Pieuchot | |
pfsyncioctl() is executed with the NET_LOCK() held which is enough. ok sashan@ | |||
2017-05-27 | Use copyin32(9) to atomically copy the futex from user space. | Mark Kettenis | |
On !MULTIPROCESSOR kernels we still fall back on copyin(9), but that is fine. This will break m88k MULTIPROCESSOR kernels. ok deraadt@, mpi@, visa@ | |||
2017-05-27 | Put an assert that M_PKTHDR is set before accessing m_pkthdr in the | Alexander Bluhm | |
mbuf functions. OK claudio@ | |||
2017-05-27 | Make ddb print again filename and linenumber if a bsd.gdb was loaded. | Claudio Jeker | |
mpi@ agrees that this is correct. | |||
2017-05-27 | move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ | Christian Weisgerber | |
2017-05-27 | Move SPINLOCK_SPIN_HOOK to the header used by other archs in order to | Martin Pieuchot | |
prepare the terrain for MI locks. ok kettenis@ | |||
2017-05-27 | Spring cleanup: | Martin Pieuchot | |
- Cache the string table pointer - Unify return statements - Use the end of the symbol table rather than counting symbols | |||
2017-05-27 | Implement copyin32(9) for alpha. | Mark Kettenis | |
2017-05-27 | remove #ifdef HIBERNATE section that declares stuff that lives in ahci.c | Jonathan Matthew | |
2017-05-27 | nvme: Add suspend/resume code | Stefan Fritsch | |
Based on an initial patch by ehrhardt@ . Thanks to claudio@ for testing and deraadt@ for advice. "go ahead" deraadt@ | |||
2017-05-27 | Use rn_inithead() instead of rn_inithead0(). Since rn_inithead0() | YASUOKA Masahiko | |
doesn't trigger rn_initmask() and first session had caused panics. Reported by VOblezov at mtsbank.ru. | |||
2017-05-27 | manually inline tlbflushg. it's short and there's only one caller. | Ted Unangst | |
ok deraadt | |||
2017-05-27 | Add missing comments for CAN and SUB, for consistency. | Frederic Cambus | |
OK tb@ | |||
2017-05-27 | Refactor m_makespace() using MCLGETI to simplify the logic of this function. | Claudio Jeker | |
Still quite complicated but more legible in the end and it will do less M_GET calls for huge packets. OK bluhm@ | |||
2017-05-27 | virtio: remove unused vq_maxsegsize | Stefan Fritsch | |
2017-05-27 | Remove obsolete comment talking about splnet(). | Martin Pieuchot | |
2017-05-27 | there shouldn't be any need to check for PGE on amd64. ok deraadt mlarkin | Ted Unangst | |
2017-05-27 | virtio: Remove MINSEG_INDIRECT | Stefan Fritsch | |
Remove MINSEG_INDIRECT as a tweakable define. Always use indirect descriptors if we have more than 1 segment. Add a comment to document the way if_vio.c uses maxnsegs in virtio_alloc_vq() to disable indirect descriptors for a queue. Based on a diff from krw@ | |||
2017-05-27 | Use EFI memory map to discover available physical memory. | Mark Kettenis | |
Fall back on improved code that parses the FDT /memory node. However, on machines with "real" UEFI firmware, /memory may include reserved memory that we shouldn't use (it does on the Overdrive 1000). On those machines, make sure that you use BOOTAA64 0.3 or later such that the EFI memory map gets used. For now, print out the EFI memory map to help debug any issues. ok patrick@ | |||
2017-05-27 | In ifa_ifwithroute() the rtalloc() needs to be done against the rdomain | Claudio Jeker | |
so use rtable_l2() to get the right id. Fixes adding routes to rtables. OK mpi@ phessler@ | |||
2017-05-27 | Claim physical memory allocated during early bootstrap from the PROM. | Mark Kettenis | |
2017-05-27 | Make room for another 4GB of .text. | Mark Kettenis | |
2017-05-27 | Move error path to end of function where god intended it | Kenneth R Westerback | |
to be. goto'ing upwards into an 'if' statement block is weird. ok sf@ | |||
2017-05-27 | Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC or | Claudio Jeker | |
tcp md5. OK mpi@ | |||
2017-05-27 | Remove superflyous splnet()/splx() dances. | Martin Pieuchot | |
ok bluhm@ | |||
2017-05-27 | Check cache_valias_mask earlier in the expression. The value is zero | Visa Hankala | |
on most systems, so this tweak should save an iota of CPU time. | |||
2017-05-27 | add missing prototype | Mike Larkin | |
2017-05-26 | Enable chvgpio(4) in RAMDISK_CD on amd64. | Stefan Sperling | |
Makes the King Jim portabook's keyboard work in bsd.rd. ok deraadt mlarkin | |||
2017-05-26 | There is only one version of pfkey in OpenBSD and this will not change any | Claudio Jeker | |
time soon so remove all the code to support multiple pfkey versions. OK mpi@ | |||
2017-05-26 | Get rid of the DELAY() hack in the firmware loader for 8000 family | Stefan Sperling | |
iwm(4) devices. I don't see any problems without this hack. I suppose the underlying problem was fixed in if_iwm.c r1.146. Add some additional error checking while here. Tested by me on 8260 and by claudio@ on 8265. ok claudio@ | |||
2017-05-26 | In IPIP input rename the variable ipo to ip as it is used for inner | Alexander Bluhm | |
and outer header. Reset values depending on the the mbuf when the mbuf is adjusted. Check the length of the inner IP header with the correct size in case of IPv6. Check the IPv4 header size including IP options. For the IPIP statistics the inner header length has to be subtracted from the packet size as the outer header has already been stripped off. OK mpi@ | |||
2017-05-26 | Instead of looking at the IP version of the header, use the outer | Alexander Bluhm | |
address family passed to ipip_input(). OK mpi@ | |||
2017-05-26 | virtio: minor tweak | Stefan Fritsch | |
use qe_desc_base instead of calculating the address again |