summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-17Add htb(4) and leioc(4).Visa Hankala
2016-11-17Check the return value of tls_config_set_protocols(), now that it returnsJoel Sing
an int.
2016-11-17Move OCSP loading into a separate function - it is not part of the keypairJoel Sing
and this way we can give a separate specific error message. ok beck@ reyk@
2016-11-17Turn Loongson 3A bits on.Visa Hankala
The work on the platform was made possible by a hardware donation from Loongson Technology.
2016-11-17Add drivers for PCI host bridge and built-in UARTs on Loongson 3A,Visa Hankala
and put the pieces together by platform glue. Feedback from miod@
2016-11-17Add support for OpenFlow 1.3.5 tests and make jumbo test use the newRafael Zalamena
version. ok reyk@
2016-11-17Make iwm(4) pass Tx/Rx MCS rates to bpf so they can be examined with tcpdump.Stefan Sperling
ok mpi@
2016-11-17Drop priv. to the _pkgfetch (for now) user when running ftp(1) and signify(1).Antoine Jacoutot
Similar to what the installer does. Listing installed patches and displaying the usage are now the only actions allowed to a non-privileged user. discussed with deraadt@
2016-11-17Remove splsoftnet()s in the ioctl(2) path.Martin Pieuchot
Since soft-interrupt for network processing are no more, the KERNEL_LOCK() is what protect two concurrent threads from accessing data structures. ok goda@
2016-11-17Send fragment with Hop-by-Hop extension header after the fragmentAlexander Bluhm
header. I must not be processed.
2016-11-17The pf fragment reassembly code accepted IPv6 hop-by-hop headersAlexander Bluhm
after fragment headers. Add an extra check that the hop-by-hop header is always the first extension header after the IPv6 header. Found by Antonios Atlasis; OK sthen@ mpi@
2016-11-17Update 82598 specific moduleMike Belopuhov
A custom method to enable RX DMA is introduced because of the upcoming API change in the common code. Otherwise it's just a copy of the ixgbe_enable_rx_dma_generic.
2016-11-17In oflowmod, automatically open the instructions block with the firstReyk Floeter
instruction. This allows to make the grammar more flexible.
2016-11-17Add an abstraction layer / API to create flows including all matchesReyk Floeter
and instructions. This makes it easier to integrate flow features in switchd and switchctl later. Written and committed during a long flight. OK rzalamena@
2016-11-17Style and typo fixes; no binary changeMike Belopuhov
2016-11-17syncStuart Henderson
2016-11-17Accept OFP_XM_T_ETH_TYPE.Reyk Floeter
OK rzalamena@
2016-11-17Key running commands for #() by the unexpanded command, and run themNicholas Marriott
again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz.
2016-11-17Add ofp_validate() for all supported versions. Will be used by switchctl,Reyk Floeter
no functional change.
2016-11-17Added the missing code to build flow-mod messages and to installRafael Zalamena
table-miss by default for switch(4). ok reyk@
2016-11-17remove IO_TLSVERIFIED which is not a io event, and inline necessary codeEric Faurot
where the callback functions are called for this event. ok gilles@
2016-11-16Remove unused bits; no functional changeMike Belopuhov
2016-11-16Intel X550 specific module; not hooked up to the build yetMike Belopuhov
Obtained from the Intel ixgbe driver in FreeBSD.
2016-11-16Add new structures and new fields; no functional changeMike Belopuhov
2016-11-16Add new register definitions from the upstream; no binary changeMike Belopuhov
2016-11-16Set permissions of /usr/share/info/dir explicitly, so they don't depend onTheo Buehler
the umask. ok millert
2016-11-16pass the user pointer as parameter to the io callback instead of havingEric Faurot
the user dereference the io structure. ok millert@ gilles@
2016-11-16Always attempt to restart the transmission when OACTIVE is setMike Belopuhov
There's not much point in adding an additional condition to the ifq_restart call so just get rid of those bits. Also while here, remove a debugging message and make sure to cleanup the whole RNDIS packet before sending it out to the hypervisor.
2016-11-16syncTheo de Raadt
2016-11-16Merge comments altogether, it's easier to understand this way.Antoine Jacoutot
And drop some duplicate while here.
2016-11-16Test multiple combinations of divert connections. The socket cleanupAlexander Bluhm
of the first connection must remove the pf state so that the second connection can succeed. Disable two raw IP tests that do not work with the current implementation in the kernel.
2016-11-16Sync switchd(8) and vmd(8) with the latest proc.c changes. This syncRafael Zalamena
basically imports the imsg_flush() fix from reyk@ in httpd(8). ok reyk@
2016-11-16If we install a new kernel, add /bsd twice (for size checking) when:Antoine Jacoutot
- we are on an MP system (/bsd.mp does not exist there) - /bsd.syspatchXX is not present (create_rollback will add it)
2016-11-16/bsd.rollbackXX -> bsd.syspatchXX to make it more obvious where it comes fromAntoine Jacoutot
and less prone to conflict. Simplify ls_installed while here.
2016-11-16Convert gre_send_keepalive() to timeout_set_proc(9) as it calls ip_output().Martin Pieuchot
2016-11-16if_link_state_change() doesn't need to be called under splsoftnet(),Martin Pieuchot
it just schedule a task.
2016-11-16Kill outdated comment talking about sofnet.Martin Pieuchot
2016-11-16Use goto in bpf{read,write}() to ease review of locked sections.Martin Pieuchot
While here properly account for used reference in bpfwrite(). ok bluhm@
2016-11-16Be consistent and do not use braces for single line statements.Martin Pieuchot
Prodded by and ok bluhm@
2016-11-16Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4),Reyk Floeter
eg. tcpdump -y openflow -i switch0 Includes a minor bump for libpcap. Feedback and OK rzalamena@
2016-11-16Fix calculation of whether we need a region for drawing a cell (only ifNicholas Marriott
full width and at the edge of the region), otherwise clear the region entirely.
2016-11-16Bring icmp6_mtudisc_clone() in line with icmp_mtudisc_clone(). TheAlexander Bluhm
IPv4 dynamic route inherits the priority. Only clone from a valid IPv6 route. Do not use splsoftnet() in IPv6. Some stylistic changes to make the functions similar. OK mpi@
2016-11-16Inherit route label when creating dynamic routes for path MTU.Alexander Bluhm
From Rivo Nurges; OK claudio@ mpi@ phessler@
2016-11-16Don't error if renaming a session to its current name, from shik dotNicholas Marriott
chen at gmail dot com.
2016-11-16Do not stop dragging when the wheel is pressed, from Artem Fokin.Nicholas Marriott
2016-11-16Add support for big reads in perl and fix the jumbo test, also removeRafael Zalamena
message type specific code from OFP encode. ok reyk@
2016-11-16Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.Nicholas Marriott
2016-11-16Allow bpf_allocbufs() to fail when allocating memory.Martin Pieuchot
This will help trading the KERNEL_LOCK for a mutex. ok bluhm@
2016-11-16Kill recursive splsoftnet()s.Martin Pieuchot
While here keep local definitions local. ok bluhm@
2016-11-16Kill recursive splsoftnet()s.Martin Pieuchot
ok bluhm@