# DF-5355 -- pccard_function_init partial-allocation retry panics resource_list_add

**Impact:** deterministic kernel panic at evil-card insertion/boot
(`resource_list_add: resource entry is busy`); non-panicking variants hold
bridge windows. Physical-access DoS (16-bit PC Card socket).

## Reproduce (verbatim rig -- shared with DF-2318/DF-5356)

```
# on the DragonFly guest (pristine /usr/src):
sh build.sh          # machine-extracts production pccard.c/subr_bus.c/cis code
./rig2 busypanic     # the DF-5355 scenario
sh run_matrix.sh matrix   # A/B: baseline vs df5355/df2318/df5356 fix variants
```

**Success criterion (baseline):**
```
pccard0: Allocation failed for cfe 0
RIG KERNEL PANIC: resource_list_add: resource entry is busy
RESULT busypanic: exit 42
```

**With the fix (fixed_run.log):** exit 0 -- cfe#0 unwinds, cfe#1 gets the
window, the function attaches cleanly.

The full rig (all 7 scenarios incl. DF-2318/DF-5356) lives in
`../DF-2318/`; this pack is a self-contained copy.

## Fix

`fix.diff` (== `fixes/df5355.diff`): unwind partial allocations at
`not_this_one` -- release each busy entry's resource, clear `rle->res`, and
delete it from the list before trying the next config entry. NOTE: this
supersedes the originally-seeded fix, which omitted `trle->res = NULL` and
itself panicked in `resource_list_delete` (see VERDICT.md). Validated by rig
A/B + combined-fix kernel boot; never applied to sys/.
