FreeBSD/ports d7d4cd9 — net-im/teams Makefile

net-im/teams: Bump port revision after electron45 update (6a1891bd370e)
DeltaFile
+1-1net-im/teams/Makefile
+1-11 files

FreeBSD/ports 6a1891b — devel/electron45 Makefile distinfo, devel/electron45/files patch-electron_shell_browser_ui_views_menu__bar.cc patch-electron_shell_browser_api_electron__api__web__contents.cc

devel/electron45: Update to 45.6.0

Changelog: https://github.com/electron/electron/releases/tag/v45.6.0

Reported by:    GitHub (watch releases)
DeltaFile
+0-45devel/electron45/files/patch-third__party_electron__node_src_compile__cache.cc
+20-20devel/electron45/files/patch-electron_spec_api-browser-window.spec.ts
+13-13devel/electron45/distinfo
+4-4devel/electron45/files/patch-electron_shell_browser_ui_views_menu__bar.cc
+4-4devel/electron45/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+3-4devel/electron45/Makefile
+44-905 files not shown
+54-10011 files

LLVM/project 08e7f09 — llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-deinterleave8-i64.ll

[X86] Enable SlotIndexes compaction by default

Compacting SlotIndexes before greedy allocation drops the entries of
erased instructions, so live range sizes and instruction distances
reflect the code being allocated rather than how much was erased
before it. AMDGPU has done this since #235806; do the same for X86.

Codegen changes only through allocation: no new crashes, verifier
errors or allocation failures in the lit suites, including
EXPENSIVE_CHECKS, and a stage-2 build of LLVM, clang and lld with
-verify-machineinstrs passes its own tests. On llvm-test-suite at -O3,
spills drop 0.3% and .text 0.06%, with compile time unchanged.

Most test updates are regenerated checks. misched-matmul now inserts
20 spills instead of 24. live-debug-vars-stale-slotindexes.mir gets
one more use of %27 so that accumulate_fit still reaches the stale
index path it was written for. reloc-opt.ll gets an NF add that keeps
its source live, because compaction compresses the existing one to the
legacy form. inline-spiller-hoist-folded-copy.ll gets four empty asm

    [2 lines not shown]
DeltaFile
+20,796-20,889llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+17,854-17,989llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+17,166-17,229llvm/test/CodeGen/X86/vector-interleave6-i16.ll
+15,403-15,465llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+13,433-13,434llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+13,329-13,243llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+97,981-98,249516 files not shown
+672,132-674,638522 files

LLVM/project 9484538 — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel postlegalizer-combiner-fcanonicalize.mir

[AMDGPU][GlobalISel] Recognize canonical update.dpp results (#247744)

Teach GlobalISel to recognize canonical `llvm.amdgcn.update.dpp` results
so the post-legalizer combiner can remove redundant `G_FCANONICALIZE`
instructions.

The source must be canonical. If either mask is partial or zero fill is
disabled, the old value must also be canonical because some lanes can
retain it.
DeltaFile
+59-0llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-fcanonicalize.mir
+19-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+78-02 files

Linux/linux 0810bd2 — arch/um Makefile, arch/um/drivers vector_transports.c vector_kern.h

Merge tag 'uml-fixes-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux

Pull uml fixes from Johannes Berg:

 - vector network driver (NAPI, hardening)

 - rust module loading

 - FD initialization in time-travel messages

* tag 'uml-fixes-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
  um: time-travel: don't use uninitialized fds from START ACK
  um: vector: Don't clean up NAPI that was never set up
  um: vector: Possible underflow and races fixes
  rust: arch/um: Fix loading Rust modules
DeltaFile
+36-20arch/um/drivers/vector_kern.c
+12-4arch/um/kernel/time.c
+0-3arch/um/drivers/vector_transports.c
+1-2arch/um/drivers/vector_kern.h
+0-2arch/um/Makefile
+49-315 files

LLVM/project 300a2bc — clang/test/CodeGenCXX inheriting-constructor.cpp inalloca-vector.cpp

[clang codegen] Add align attributes to inalloca arguments. (#244740)

There's no reason to let the backend try to infer the alignment here.
DeltaFile
+10-10clang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
+8-8clang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp
+6-6clang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp
+4-4clang/test/CodeGenCXX/inheriting-constructor.cpp
+4-4clang/test/CodeGenCXX/inalloca-vector.cpp
+4-4clang/test/CodeGenCXX/inalloca-overaligned.cpp
+36-3615 files not shown
+61-6021 files

LLVM/project c8b8641 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp SIISelLowering.cpp, llvm/test/Analysis/CostModel/AMDGPU packed-fabs.ll

[AMDGPU] Scalarize packed FP math with fabs sources and update cost model (#236584)

Packed math instructions (v_pk_add, v_pk_mul, v_pk_fma, v_pk_min_num and
v_pk_max_num) have no abs source modifier, so an fabs feeding one must
be materialized as a real and per element. Scalarizing the packed operation
instead lets the abs fold back into a source modifier, trading the packed
instruction plus N ands for N scalar instructions.

Update the TTI cost model to match: fabs stays free, and a packed
f32/f64 fadd/fsub/fmul, fma/fmuladd or f64 minimumnum/maximumnum with a
single-use fabs source (looking through fneg) is priced as one scalar instruction
per element instead of a packed instruction. When queried by the SLP vectorizer, the
operands of the scalar instruction representing the lanes are checked.

Fixes: LCOMPILER-2919
---------

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+470-0llvm/test/CodeGen/AMDGPU/fneg-fabs-v2f32.ll
+314-0llvm/test/Transforms/SLPVectorizer/AMDGPU/packed-fabs-cost.ll
+194-0llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+163-0llvm/test/Analysis/CostModel/AMDGPU/packed-fabs.ll
+66-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+32-5llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+1,239-51 files not shown
+1,240-57 files

FreeBSD/src 7a7733f — sys/powerpc/aim aim_machdep.c, sys/powerpc/powerpc vm_machdep.c exec_machdep.c

powerpc: fix single stepping across signal delivery and fork

PT_STEP sets MSR[SE] and trap() clears it again when the trace trap
comes in, but the rest of the kernel treated it as a bit a thread can't
change, which broke stepping in three places.

sendsig() kept it set for the signal handler, so the debugger got a
SIGTRAP on the handler's first instruction. This is what
ptrace__PT_STEP_with_signal in ptrace_test trips over. Clear it for the
handler, like amd64 does with PSL_T.

The context saved for the handler still has it, but set_mcontext()
refused a context whose MSR[SE] no longer matched the frame, so
sigreturn(2) failed and the process exited as soon as the handler
returned. Let a context carry MSR[SE].

cpu_fork() copied it into the child, which nobody traces, so a fork(2)
done while stepping killed the child with SIGTRAP. Clear it there.


    [3 lines not shown]
DeltaFile
+9-0sys/powerpc/powerpc/vm_machdep.c
+9-0sys/powerpc/powerpc/exec_machdep.c
+2-1sys/powerpc/aim/aim_machdep.c
+20-13 files

LLVM/project d5ff1be — lldb/source/Core FormatEntity.cpp, lldb/test/API/functionalities/gdb_remote_client TestThreadNameEscaping.py

[lldb] Escape non-printable characters in thread and queue names (#248151)

The inferior sets thread and queue names and can put any bytes in them.
The thread.name and thread.queue format entities printed them verbatim,
so a name could send control sequences to the terminal.

Escape both with StringPrinter, as string summaries already do.
Printable UTF-8 is unchanged, while double quotes and backslashes are
escaped too.

rdar://187191695
Assisted-by: Claude
DeltaFile
+37-0lldb/test/API/functionalities/gdb_remote_client/TestThreadNameEscaping.py
+16-2lldb/source/Core/FormatEntity.cpp
+53-22 files

LLVM/project 7bb0bdf — clang/test/CodeGenHLSL/semantics SV_InnerCoverage.ps.hlsl, clang/test/SemaHLSL/Semantics innercoverage.stages.hlsl innercoverage.ps.hlsl

[HLSL] Add support for SV_InnerCoverage (#237389)

Resolves: https://github.com/llvm/llvm-project/issues/136983

Assisted by: Claude Opus 5.5
DeltaFile
+121-0clang/test/SemaHLSL/Semantics/innercoverage.ps.hlsl
+35-26llvm/unittests/Frontend/HLSLSemanticStagesTest.cpp
+41-0clang/test/CodeGenHLSL/semantics/SV_InnerCoverage.ps.hlsl
+36-0llvm/test/CodeGen/SPIRV/semantics/inner-coverage.ps.ll
+29-0llvm/test/CodeGen/DirectX/ShaderFlags/inner-coverage.ll
+27-0clang/test/SemaHLSL/Semantics/innercoverage.stages.hlsl
+289-2613 files not shown
+400-2819 files

LLVM/project 55996ab — mlir/unittests/Interfaces CMakeLists.txt SideEffectInterfacesTest.cpp

[mlir] Test analysis-aware speculation in the shared interface suite
DeltaFile
+53-0mlir/unittests/Interfaces/SideEffectInterfacesTest.cpp
+2-11mlir/unittests/Interfaces/CMakeLists.txt
+55-112 files

LLVM/project 24a4ee8 — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp

[Attributor] Fold lookupAAForImpl into lookupAAFor

Also use isAllowed in checkAndQueryIRAttr.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+6-14llvm/include/llvm/Transforms/IPO/Attributor.h
+1-1llvm/lib/Transforms/IPO/Attributor.cpp
+7-152 files

LLVM/project 31167e3 — mlir/include/mlir/Interfaces SideEffectInterfaces.h, mlir/include/mlir/Transforms LoopInvariantCodeMotionUtils.h

[mlir] Name the speculation analysis manager am
DeltaFile
+8-8mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp
+6-5mlir/include/mlir/Interfaces/SideEffectInterfaces.h
+5-5mlir/lib/Interfaces/SideEffectInterfaces.cpp
+2-2mlir/unittests/Interfaces/SideEffectInterfacesTest.cpp
+2-2mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
+2-2mlir/include/mlir/Transforms/LoopInvariantCodeMotionUtils.h
+25-241 files not shown
+26-257 files

OpenZFS/src 0317365 — tests/zfs-tests/tests/functional/mmp mmp.kshlib mmp_on_off.ksh

ZTS: mmp_on_off must not leave a suspended pool behind

mmp_on_off runs with zfs_multihost_interval=100 and the default ten
fail intervals, so MMP suspends the pool when no MMP write has
succeeded for one second.  In CI one MMP write took 1.25 s:

    WARNING: MMP writes to pool 'testpool' have not succeeded in
    over 1109 ms; suspending pool

A pool suspended by MMP can't be cleared on its own host (#19033), so
cleanup failed ("pool is imported on a different host") and left it
imported.  The tests after it failed on their zpool create, and
mmp_on_zdb's cleanup destroyed it: zpool destroy -f unmounts the root
dataset, and the unmount waits in zil_commit() for the suspended pool
forever, so the CI job ran into its 300 minute timeout.

mmp_clear_suspended() should have stopped that destroy, but it asks
zpool for the pool's health, and once a cleanup has removed the
hostid, zpool reports the hostid mismatch (ONLINE), not the

    [12 lines not shown]
DeltaFile
+11-0tests/zfs-tests/tests/functional/mmp/mmp_on_off.ksh
+5-1tests/zfs-tests/tests/functional/mmp/mmp.kshlib
+16-12 files

LLVM/project e9255ac — mlir/include/mlir/Interfaces SideEffectInterfaces.td SideEffectInterfaces.h

[mlir] Document analysis manager requirements for speculation queries
DeltaFile
+6-6mlir/include/mlir/Interfaces/SideEffectInterfaces.h
+6-3mlir/include/mlir/Interfaces/SideEffectInterfaces.td
+12-92 files

LLVM/project 4248015 — utils/bazel .bazelrc configure.bzl, utils/bazel/llvm-project-overlay REPO.bazel

[bazel] Enable include scanning (#248169)

This scans source files to determine what headers need to be inputs to
their compilation actions. This massively reduces network traffic when
using remote execution. In my testing a full build without remote
execution transfers ~12gb of source files, and with include scanning it
transfers ~1gb

This is only enabled for first party code. If a file isn't included
because of its include not being regexable, for example if it's
included via a define:

```
 #define FOO "bar.h"
 #include FOO
```

It can be added to `additional_compiler_inputs` in order to get scanned.
If there's a larger problem individual targets can set `features =
["-cc_include_scanning"]`
DeltaFile
+4-4utils/bazel/configure.bzl
+5-0utils/bazel/llvm-project-overlay/REPO.bazel
+4-0utils/bazel/.bazelrc
+2-1utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang-rt/lib/runtime/BUILD.bazel
+16-55 files

LLVM/project a910ca3 — llvm/lib/Analysis TypeMetadataUtils.cpp, llvm/test/Transforms/WholeProgramDevirt vfunc-ptr-as-argument.ll

[WPD] Don't treat a call that passes a vtable slot as a virtual call (#245870)

findCallsAtConstantOffset recorded every call or invoke that used the
function pointer loaded from a vtable slot, including one that only
passes it as an argument. Devirtualizing such a call hit the
"devirtualizing direct call?" assertion in applySingleImplDevirt or,
without assertions, rewrote the callee or folded the result of an
unrelated direct call.

This happens when hot/cold splitting outlines the indirect call into a
function that takes the loaded slot as an argument; the WPD run for
-fdevirtualize-speculatively comes after it.

Record only calls whose callee is the slot pointer, and treat any other
call use as a non-call use.

Assisted-by: Claude Code
DeltaFile
+77-0llvm/test/Transforms/WholeProgramDevirt/vfunc-ptr-as-argument.ll
+3-4llvm/lib/Analysis/TypeMetadataUtils.cpp
+80-42 files

LLVM/project 9eb83e1 — flang-rt/lib/runtime CMakeLists.txt

[flang-rt][cuda] Add reduce.cpp to the supported files (#248183)

Add `reduce.cpp` to the list of supported files for the CUDA build so we
can support `reduce` in compute region.

```
!$acc parallel loop copyin(a) copyout(r)
  do i = 1, 8
    r(i) = reduce(a(:, i), iadd)
  end do
```
DeltaFile
+1-0flang-rt/lib/runtime/CMakeLists.txt
+1-01 files

FreeNAS/freenas 8ad268b — src/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_network_configuration.py

Update `/etc/hosts` on hostname change

(cherry picked from commit 02f2a2b430bc857ef9a11ed58a71863d8be83cff)
DeltaFile
+95-0tests/api2/test_network_configuration.py
+2-3src/middlewared/middlewared/plugins/network_/global_config.py
+97-32 files

FreeNAS/freenas 481a00f — src/middlewared/middlewared/plugins/network_ global_config.py, tests/api2 test_network_configuration.py

NAS-145419 / 28.0.0-BETA.1 / Update `/etc/hosts` on hostname change (#20303)

Fixing https://github.com/truenas/middleware/pull/20180 exposed this
latent bug.

While I am here, increase tests coverage.
DeltaFile
+95-0tests/api2/test_network_configuration.py
+2-3src/middlewared/middlewared/plugins/network_/global_config.py
+97-32 files

OPNSense/core f4c2100 — src/etc/inc interfaces.inc

interfaces: add prefix to ifctl for blackhole route in 6rd and 6to4

PR: https://forum.opnsense.org/index.php?topic=53359.0
DeltaFile
+6-0src/etc/inc/interfaces.inc
+6-01 files

FreeNAS/freenas aee12ac — src/middlewared/middlewared/pytest/unit/utils test_filesystem_misc.py, src/middlewared/middlewared/utils/filesystem utils.py

NAS-145549 / 28.0.0-BETA.1 / Fix infinite loop in path_in_ctldir() on paths starting with // (#20354)

`path_in_ctldir()` can enter an infinite loop when a path starts with
exactly two slashes, such as `//mnt/tank/share`. This can happen when a
user accidentally enters an extra leading slash in an SMB share path or
supplies such a path through the API. Linux treats `//` like `/`,
allowing the path to pass the earlier existence checks.

The loop assumes that the root is always `/`, but `pathlib` preserves
exactly two leading slashes. Since the parent of `//` is itself,
terminate the loop when `path == path.parent` instead of comparing
against `/`.

Added a regression test, reproduced the hang against master and verified
the fix on a TrueNAS VM.
DeltaFile
+8-0src/middlewared/middlewared/pytest/unit/utils/test_filesystem_misc.py
+2-1src/middlewared/middlewared/utils/filesystem/utils.py
+10-12 files

LLVM/project d4c9537 — clang/lib/DependencyScanning ModuleDepCollector.cpp, clang/lib/Lex PPDirectives.cpp

[clang][deps] Add dependency scanning support for #embed

Teach the dependency directive lexer to scan #embed like we do for #include,
and the dependency scanner to record the dependencies from #embed and
__has_embed. Modules work by virtue of the embedded files being input files to
the scanner pcms. Incidentally fix the strict context hash to include embed
directories.

Claude Opuse helped with the tests.
DeltaFile
+103-0clang/test/ClangScanDeps/modules-embed.c
+71-0clang/test/ClangScanDeps/embed.c
+35-0clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
+32-0clang/test/Modules/context-hash.c
+13-0clang/lib/DependencyScanning/ModuleDepCollector.cpp
+5-0clang/lib/Lex/PPDirectives.cpp
+259-05 files not shown
+267-111 files

LLVM/project f9ebb78 — mlir/include/mlir/Interfaces MemorySlotInterfaces.td, mlir/lib/Transforms Mem2Reg.cpp

[mlir][mem2reg][NFCI] Only scan blocks that interact with the promoted slot (#244298)

`promoteInBlock` walks every operation of every block in the slot's
region, once per promoted slot, so promotion cost grows with slots times
operations even when each slot is used in a few blocks.

Only blocks holding a blocking use or a region to promote can read or
redefine the slot. `promoteSlot` now collects those blocks, and
`promoteInBlock` forwards the reaching definition through any other
block without visiting its operations. The interface docs now state two
properties every in-tree implementation already has and this relies on:
`storesTo` implies a blocking use, and `setupPromotion` does not move
operations across blocks.

`mlir-opt --mem2reg`, one function with 6,000 allocas over 3,000
diamonds (9,001 blocks), median of 5 runs, byte-identical output:

| Input        | Before  | After  |
|--------------|---------|--------|

    [4 lines not shown]
DeltaFile
+63-0mlir/test/Transforms/Mem2Reg/memref.mlir
+43-0mlir/test/Transforms/Mem2Reg/scf.mlir
+19-1mlir/lib/Transforms/Mem2Reg.cpp
+5-3mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+1-2mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+131-65 files

LLVM/project c816ba6 — clang/include/clang/Lex Preprocessor.h, clang/lib/Lex PPDirectives.cpp PPMacroExpansion.cpp

[clang] Rebuild implicit modules when #embed files change

Files embedded are intentionally not sloc entries, so explicitly track the
embedded files and add them to the AST's input files in ASTWriter. This
ensures implicit modules are rebuilt correctly when they change.

Claude Opus helped with the tests.
DeltaFile
+69-0clang/test/Modules/embed.c
+32-0clang/lib/Serialization/ASTWriter.cpp
+23-0clang/test/PCH/validate-file-content.m
+11-0clang/include/clang/Lex/Preprocessor.h
+3-0clang/lib/Lex/PPMacroExpansion.cpp
+2-0clang/lib/Lex/PPDirectives.cpp
+140-01 files not shown
+141-07 files

LLVM/project d4390a9 — lldb/source/Plugins/Process/Windows/Common NativeThreadWindows.cpp NativeProcessWindows.cpp

[lldb][Windows] Invalidate the ARM64 register cache when a thread runs (#248084)

Since #197385, `NativeRegisterContextWindows_arm64` caches the thread's
`CONTEXT`.

Stops and register writes drop the cache but not resumes. Therefore,
exception handlers in `NativeProcessWindows` that read registers before
calling `StopThread()` get stale values.

This patch drops the cache when a thread resumes, and when a debug
exception arrives for it.

This fixes the flakes in `TestMultipleBreakpoints`.
DeltaFile
+3-0lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+2-0lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
+5-02 files

FreeNAS/freenas 9d81afd —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 2b5aed7 — src/middlewared/middlewared/pytest/unit/utils test_filesystem_misc.py, src/middlewared/middlewared/utils/filesystem utils.py

NAS-145549 / 28.0.0-BETA.1 / Fix infinite loop in path_in_ctldir() on paths starting with // (#20354)

### Motivation

`path_in_ctldir()` can enter an infinite loop when a path starts with
exactly two slashes, such as `//mnt/tank/share`. This can happen when a
user accidentally enters an extra leading slash in an SMB share path or
supplies such a path through the API. Linux treats `//` like `/`,
allowing the path to pass the earlier existence checks.

### Description

The loop assumes that the root is always `/`, but `pathlib` preserves
exactly two leading slashes. Since the parent of `//` is itself,
terminate the loop when `path == path.parent` instead of comparing
against `/`.

### Testing

Added a regression test, reproduced the hang against master and verified
the fix on a TrueNAS VM.
DeltaFile
+8-0src/middlewared/middlewared/pytest/unit/utils/test_filesystem_misc.py
+2-1src/middlewared/middlewared/utils/filesystem/utils.py
+10-12 files

Linux/linux 5223181 — arch/um/kernel time.c

um: time-travel: don't use uninitialized fds from START ACK

When the kernel connects to an external time-travel controller, it
expects the ACK of its UM_TIMETRAVEL_START message to carry two file
descriptors: the shared memory area and a log file. It reads them with
os_rcv_fd_msg() into an uninitialized on-stack array, and then uses
both array elements whenever the message itself was received in full.

os_rcv_fd_msg() leaves the array untouched if the message came without
an SCM_RIGHTS control message. That is what any controller that does
not implement the shared memory extension sends, which the protocol
allows: such controllers are why the kernel falls back to message
based scheduling. In that case the kernel passes stack garbage to
mmap() and then close()s both values.

With CONFIG_INIT_STACK_ALL_ZERO, the default where the compiler
supports it, the garbage is 0, so the kernel closes its own stdin. The
next file descriptor it opens, the epoll instance used for IRQs, then
becomes fd 0:

    [19 lines not shown]
DeltaFile
+12-4arch/um/kernel/time.c
+12-41 files

Linux/linux 1d7d3e3 — arch/um/drivers vector_kern.h vector_kern.c

um: vector: Don't clean up NAPI that was never set up

vector_net_open() calls vector_net_close() on any failure once
vp->fds is set, and vector_net_close() then runs napi_disable() and
netif_napi_del() unconditionally. But the NAPI context is only added
and enabled after build_transport_data() and the header buffer
allocations, so a failure in any of those disables a NAPI context that
was never added. napi_disable() locks n->dev, which is still NULL:

  ip link set vec0 up   (vec0:transport=gre,...,rx_key=1, no tx_key)
  Kernel panic - not syncing: Kernel mode fault at addr 0x910
   napi_disable+0x4e/0x9e
   vector_net_close+0x2b9/0x87d
   vector_net_open+0x105d/0x106f
   __dev_open+0x244/0x334

Record in vp->napi_enabled whether vector_net_open() got as far as
enabling NAPI, and only disable and delete it in vector_net_close()
when it did. NAPI is still enabled only after the queues and buffers

    [10 lines not shown]
DeltaFile
+7-2arch/um/drivers/vector_kern.c
+1-0arch/um/drivers/vector_kern.h
+8-22 files