shuffle nvgre packet processing to simplify nvgre ioctls.
nvgre_start could be called both with and without NET_LOCK, so it
had to try and coordinate with nvgre_up and _down without relying
on NET_LOCK, but then it also had to defer sending encapsulated
packets to a task so it could control the scope of NET_LOCK before
calling ip_output and ip6_output.
tom smyth reported issues with the nvgre_down coordination, which
led to restructuring this code.
nvgre now forces all transmit calls to be run from their own task
in the softnet threads, which in turn allows it to take NET_LOCK
itself and rely on it to coordinate access to the gre tunnel
configuration parameters. this simplifies nvgre_down, and also
allows us to remove the extra send task, because the NET_LOCK scope
is already known and controlled. packet reception is done as part
of the ip stack processing, so it already has NET_LOCK arounds its
use of the tunnel config.
[7 lines not shown]
Fix `findpr' dereference after context switch in sysctl_proc_vmmap().
Do the sleeping malloc() before process search. Take the reference on
found process descriptor to make concurrent exit1() wait us during the
sleep within fill_vmmap().
I moved the `oldlen' checks and `start' copyin() before process search
to make the error path shorter. This reorders the error path, but they
are just the passed parameters checks which are not related to
found process.
ok kirill
sys/swap: match swap block devices by device number
Prevent duplicate activation through aliases and retain the registered
vnode through the swapoff close.
Reported by miod@ and Yamasaki Yuu
Ok: claudio@
remove devel/ctftools
The port seems no longer useful and breaks with the newest devel/libdwarf.
Upstream is unmaintained (last commit 10 years ago) and the maintainer
(jasper@) is unresponsive.
ok sthen@
sys/ufshci: match against qcom,ufshc
Linux had drop jedec,ufs-2.0 compatibility in DTS for x1e80100 to use
only qcom,ufshc; adjust the code to make upgrade of DTB works.
OK: phessler@
Cleanup entity passing and remove the path string from it
There is no reason to split the uri into file and path anymore.
This is only used in one place for mfts and so it is better to
simplify all other code and adjust the generation of mft->path.
Also the parser can use a mft_filepath function to generate the
FS path to access files referenced by the mft.
OK tb@
Sort union by size since ISO C is a mine filed.
The initalizers introduced in C99 may only initialize the first
element of a union. If that one is not the largest member
then you may end up with uninitalized memory. In the end the
outcome depends on the compiler used which is just bananas.
OK tb@
add missing BDEP on bash;
../../../../pobj/qman-1.5.1/qman-1.5.1/src/meson.build:86:10: ERROR: Command `/pobj/qman-1.5.1/qman-1.5.1/src/qman_tests_list.sh` failed with status 127.
A full log can be found at /pobj/qman-1.5.1/build-i386/meson-logs/meson-log.txt
0>
Running command: /pobj/qman-1.5.1/qman-1.5.1/src/qman_tests_list.sh
--- stdout ---
--- stderr ---
env: bash: No such file or directory