summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-07Add ids for Logitech Webcam C250, also affected by the 'bogusLandry Breuil
FEATURE_UNIT bLength' issue. ok mpi@
2018-07-07Be more precise explaining that _ask() captures user responsesRobert Peichaer
interactively and also from the response file.
2018-07-07Add recommended error checks around the use of strtod() inKenneth R Westerback
parse_sizespec(). ok otto@
2018-07-07Tweak commentsRobert Peichaer
2018-07-07what was I thinking. No need to iterate, just use the keyMarc Espie
and avoid a stupid bug where we leave the iterator mid-range
2018-07-06Improve the description of another rather esoteric piece of shell script code.Robert Peichaer
2018-07-06Tweak comments and explain, why HTTP_SETDIR is made known to the webserverRobert Peichaer
where the response file is downloaded from.
2018-07-06Tweak comments and spacing.Robert Peichaer
2018-07-06Tweak commentRobert Peichaer
2018-07-06Implement an API for establishing legacy PCI interrupts. This specificPatrick Wildt
establish function parses the device tree's interrupt map to discover the correct interrupt controller node and interrupt cells for the given PCI node. After retrieving that information we can do the same the normal FDT establish API already does. MSI interrupts are established in a different way as well. Instead of simply hooking up the interrupt handler and returning an MD cookie, we need to pass back information for the PCI controller to configure its interrupt correctly. For this, add another establish routine into the FDT-based interrupt API which looks up msi-controller nodes and calls their MSI-specific establish function if requested. ok kettenis@
2018-07-06Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the dataPatrick Wildt
is synced properly before the CPU or the WiFi chip access the supplied memory. Makes PCIe-connected bwfm(4) work on ARM-based machines.
2018-07-06Move mbuf alignment for strict aligned architectures from the BCDCPatrick Wildt
specific receive path into the generic receive path, since PCIe supplied packets can be misaligned as well.
2018-07-06Since the function is supposed to return 1 if the window is free, wePatrick Wildt
must return 0 if we don't want that someone uses window 13. Remove erroneous for-loop. We simply want to check if it's a remappable window to disable the remap in that case. ok kettenis@
2018-07-06use a list for the -T types, now that there are many; ok dlgJason McIntyre
2018-07-06Rename COMP_DELAYED to COMP_ZLIBStefan Fritsch
Only delayed compression is supported nowadays. ok markus@
2018-07-06Remove leftovers from pre-authentication compressionStefan Fritsch
Support for this has been removed in 2016. COMP_DELAYED will be renamed in a later commit. ok markus@
2018-07-06Remove unused ssh_packet_start_compression()Stefan Fritsch
ok markus@
2018-07-06Fix efiboot not to panic when a serial which does not exist actuallyYASUOKA Masahiko
is specified as the console. Current implementation can't assume the given device is proved at the callback functions if the system has one serial device at least.
2018-07-06Return EINVAL if pthread_barrier_init is called with count=0.Paul Irofti
OK kettenis@, guenther@
2018-07-06add support for vxlan packets.David Gwynne
I personally think vxlan looks suspiciously like gre, so I put the parser in print-gre.c
2018-07-06Add a rectangle_toggle format, from Hirokazu Hata.Nicholas Marriott
2018-07-06use do { } while (!bottom) instead of again: ... if (!bottom) goto again;David Gwynne
2018-07-06pass the payload to parsers via cp, which is a pointer to the payload.David Gwynne
previously they all had (const u_char *)(up + 1), which was messy.
2018-07-06add "tftp" as a type to use with -TDavid Gwynne
This forces UDP packets to be parsed as tftp messages, which is useful to see the DATA and ACK packets. They're usually on high ports which don't get matched by udp_print, which by default only handled tftp packets on port 69.
2018-07-06Add "mpls" as a type to use with -TDavid Gwynne
This allows arbitrary UDP packets to be parsed as MPLS.
2018-07-06According to RFC7510, IANA allocated port 6635 for MPLS over UDPDavid Gwynne
2018-07-06Add "gre" as a type to use with -TDavid Gwynne
This allows arbitrary UDP packets to be parsed as GRE packets.
2018-07-06Rework UDP parsing, particularly around IP addresses.David Gwynne
This originally started as trying to put a consistent space between the UDP header information and the payload parsing, but while doing that I noticed inconsistent IPv4 vs IPv6 handling. Apart from the default "srcip.srcport > dstip.dstpor" output, all the other places that IP addresses were printed assumed IPv4. It looks like it is possible that udp_print() can be called without an IP header, which made these blind IPv4 prints turn into NULL derefs. This fixes the problem above by only having a single place that prints the addresses out, and makes sure to get the difference between IPv4, IPv6 and no IP correct. This changes how the checksum is calculated. It incrementally builds the UDP checksum by feeding the IPv4 and v6 addresses in separately, then using common code for the rest of the pseudo header and actual payload. Lastly, this does make printing the space between the UDP header and its payload consistent. The UDP code is now responsible for adding a space after itself so the payload parsers don't have to. They got it wrong in some cases anyway, so this should be a lot more uniform. help and ok sthen@
2018-07-06move the ip checksumming code into in_cksum.cDavid Gwynne
this is part of a bigger change that refactors udp handling, but works on hosts of both endians. discussed at length with proctor@ ok sthen@
2018-07-06Split trap() into kerntrap() and usertrap(), with all the signal generationPhilip Guenther
in a compact block in the latter. ok deraadt@ mlarkin@
2018-07-06syncTheo de Raadt
2018-07-06regenJonathan Matthew
2018-07-06add Broadcom NetXtreme-C/E devicesJonathan Matthew
2018-07-05fix comment: s/always send/always sent/Stuart Henderson
2018-07-05It was possible to leak the control mbuf in raw ip user requestAlexander Bluhm
with sendmsg(2) and MSG_OOB. Sync the code in udp, rip, and rip6_usrreq. Add an inp NULL check in rip6_usrreq for consistency. OK benno@ mpi@
2018-07-05supply an arch for Dt;Jason McIntyre
2018-07-05reword;Jason McIntyre
2018-07-05acpipci(4)Mark Kettenis
2018-07-05Add acpipci(4), a driver that supports generic ECAM-compatible PCI hostMark Kettenis
bridges based on information provided by ACPI. ok mlarkin@
2018-07-05syncTheo de Raadt
2018-07-05Do not leak memory and a fp reference when !root passes `allow_other'.Martin Pieuchot
Fix CID 1470236. ok helg@
2018-07-05regenMartin Pieuchot
2018-07-05Put back sendto(2) and sendmsg(2) under KERNEL_LOCK().Martin Pieuchot
malloc(9) is apparently not mpsafe as found the hardway by sthen@.
2018-07-05further tweak the introductory text; ok gillesJason McIntyre
2018-07-05tweak previous;Jason McIntyre
2018-07-05Serialize the sosplice taskq allocation. This prevents an unlikelyVisa Hankala
duplicate allocation that could happen in the future when each socket has a dedicated lock. Right now, the code path is serialized also by the NET_LOCK() (and the KERNEL_LOCK()). OK mpi@
2018-07-05Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked codeVisa Hankala
paths create kernel threads. This will be utilized by sosplice() for the taskq allocation. OK mpi@
2018-07-05backout r1.11 "Add retguard macros for kernel asm", ok deraadtStuart Henderson
after starting iked kernel enters ddb with: Stopped at aesni_ctr_enc+0xd8: int $3
2018-07-05RTM_BFD route messages are also a special case. suggested by claudio@,Sebastian Benoit
ok phessler@
2018-07-05update the route message documentationSebastian Benoit
ok claudio@