summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-20Do not use the interface pointer after if_put(). Rename ipip_input_gif()Alexander Bluhm
to ipip_input_if() and always pass the ifp. Only dump the packet to bpf if we are called with a gif(4) interface. OK mpi@
2017-06-20Convert sodidle() to timeout_set_proc(9), it needs a process contextMartin Pieuchot
to grab the rwlock. Problem reported by Rivo Nurges. ok bluhm@
2017-06-20Remove KERNEL_LOCK() asserts.Martin Pieuchot
pf table code iterates on a radix tree and currently relies on the NET_LOCK() to do the serialization. Found the hardway by jasper@
2017-06-20Better document the :s ex command and its variants.Anthony J. Bentley
ok jmc@
2017-06-20syncJonathan Gray
2017-06-20remove some magic numbers in the flush-by-asid code and check if the CPUMike Larkin
supports that feature before we try to use it. discussed with deraadt
2017-06-20SVM: better cleanbits handling. Fixes an issue on Bulldozer CPUs causingMike Larkin
#TF exceptions during guest VM boot ok brynet
2017-06-20fix some nitsJonathan Matthew
ok dlg@
2017-06-20Revert a previous commit that increased the virtio queue size since itMike Larkin
appears to be causing some instability.
2017-06-19dynamically scale the size of the per cpu cache lists.David Gwynne
if the lock around the global depot of extra cache lists is contented a lot in between the gc task runs, consider growing the number of entries a free list can hold. the size of the list is bounded by the number of pool items the current set of pages can represent to avoid having cpus starve each other. im not sure this semantic is right (or the least worst) but we're putting it in now to see what happens. this also means reality matches the documentation i just committed in pool_cache_init.9. tested by hrvoje popovski and amit kulkarni ok visa@
2017-06-19s/a active/an active/David Gwynne
2017-06-19s/pool_set_hardlimit/pool_sethardlimit/David Gwynne
from schwarze@
2017-06-19s/can be from process context/can be called from process context/David Gwynne
from schwarze@
2017-06-19talk about the per cpu caches in pools by documenting pool_cache_init()David Gwynne
this describes what the per cpu caches do, and has some bonus doco about what the sysctls provide thanks to a suggestion from mikeb@ some tweaks are coming, but this is mostly right. ok jmc@ schwarze@
2017-06-19As early as possible, create a link /bsd.booted to the /bsd kernel weTheo de Raadt
presume we booted from. If you boot from another kernel, we cannot help you later with hibernate, sorry -- The kernel does not get a useable filename from the bootblocks. In the bootblocks, detect a live hibernate signature and boot from /bsd.booted instead. with yasuoka, lots of discussion with mlarkin, ok tom
2017-06-19Import route priority support from ospfd to ospf6d.friehm
Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since ospfd and bgpd don't set the flag. OK bluhm@ claudio@
2017-06-19Various KNF nits.Kenneth R Westerback
2017-06-19missing letter in previous;Jason McIntyre
2017-06-19Terminate pledge log(9) with newline. This fixes dmesg(8) output.Alexander Bluhm
found by regress/sys/kern/pledge/generic; OK deraadt@
2017-06-19When dealing with mbuf pointers passed down as function parameters,Alexander Bluhm
bugs could easily result in use-after-free or double free. Introduce m_freemp() which automatically resets the pointer before freeing it. So we have less dangling pointers in the kernel. OK krw@ mpi@ claudio@
2017-06-19delete accidental blank lineTheo de Raadt
2017-06-19The IP multicast forward functions return an errno, call the variableAlexander Bluhm
error. Make the ip_mforward() return value consistent. Simplify the caller logic in ipv6_input() like in IPv4. OK mpi@
2017-06-19Fix the timecounter register on CN72xx/CN73xx.Visa Hankala
2017-06-19Use octeon_model_family() for SoC identification as in the restVisa Hankala
of the code.
2017-06-19Use type register_t instead of __register_t. Drop unneeded __unused.Visa Hankala
2017-06-19There is no RTC on the E1000 board.Visa Hankala
2017-06-19Use a consistent naming for fdt attach arguments.Visa Hankala
2017-06-19syncTheo de Raadt
2017-06-19Fix a regression in the previous revision:Ingo Schwarze
When there is no link description, reuse the URI. Reported by tj@ and bentley@.
2017-06-19Add a handler for the WSDISPLAYIO_GINFO ioctl in radeondrm, allowingFrederic Cambus
to retrieve basic information about a framebuffer display. OK visa@, deraadt@
2017-06-19Add a handler for the WSDISPLAYIO_GINFO ioctl in inteldrm, allowingFrederic Cambus
to retrieve basic information about a framebuffer display. OK visa@, tedu@
2017-06-19Make rn_match() and rn_lookup() safe to be used in parrallel, whenMartin Pieuchot
different trees are manipulated: - Stop writting to global variables - Use a buffer on the stack - Anotate read/only arrays as such While here introduce a SALEN() macro and assert that the KERNEL_LOCK() is held when a tree is modified. ok bluhm@
2017-06-19Do not call txeof nor rxeof in the watchdog routine.Martin Pieuchot
They cannot be serialized with the interrupt routine and are useless because the driver is reinitialized right after. Pointed by and ok mikeb@
2017-06-19fix descriptor leak in the smtp congestion mechanismGilles Chehade
diff from Henri Kemppainen; ok gilles@ eric@
2017-06-19g/c ASPICFLAG.Martin Pieuchot
This used to be necessary a long time ago in the... gcc 2.95 days. from miod@
2017-06-19Mark up "am i" as Cm, not Ar.Anthony J. Bentley
While here, remove a leftover Tn macro. ok jmc@
2017-06-19No need for a conditional to choose between nroff and troff.Anthony J. Bentley
ok jmc@
2017-06-19port the RBT code to userland by making it part of libc.David Gwynne
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
2017-06-19Erroneous host names in various options should be ignoredKenneth R Westerback
and not cause the lease to be declined. Restore inadvertantly changed behaviour. Tweak logic to also ignore invalid host names in domain-search. Reported by Christer Solskogen via misc@
2017-06-18Move the timeout information into struct interface_info withKenneth R Westerback
the rest of the dhcp state. One less struct (dhcp_timeout) to worry about, one less field (ifi) to keep track of.
2017-06-18Don't write input if ICANON is enabled. Also, write one byte at a time.anton
2017-06-18Implement appending to standard man(7) and mdoc(7) macros with .am.Ingo Schwarze
With roff_getstrn(), provide finer control which definitions can be used for what: * All definitions can be used for .if d tests and .am appending. * User-defined for \* expansion, .dei expansion, and macro calling. * Predefined for \* expansion. * Standard macros, original or renamed, for macro calling. Several related improvements while here: * Do not return string table entries that have explicitly been removed. * Do not create a rentab entry when trying to rename a non-existent macro. * Clear an existing rentab entry when the external interface roff_setstr() is called with its name. * Avoid trailing blanks in macro lines generated from renamed and from aliased macros. * Delete the duplicate __m*_reserved[] tables, just use roff_name[].
2017-06-18Convert last set_timeout() use to set_timeout_interval() andKenneth R Westerback
then remove set_timeout() and rename set_timeout_interval() to set_timeout().
2017-06-18Drop (int) casts of (time_t - time_t) calculations thatKenneth R Westerback
are assigned to an int variable.
2017-06-18Nuke stray and misleading comment.Kenneth R Westerback
2017-06-18Split octeon interrupt code into a glue layer and a CIU driver.Visa Hankala
This makes possible to add drivers for other interrupt controllers on the platform. The glue layer has been derived from arm64/armv7.
2017-06-18pms/alps: configure compat modeUlf Brosziewski
2017-06-18Remove remnants of old versions.Ulf Brosziewski
2017-06-18Move IPI control entry points into octeon_intr.c.Visa Hankala
Needed by upcoming driver changes.
2017-06-18update log.c in ifstated to the same used in bgpd etc.Sebastian Benoit
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks