#!/bin/sh
# DF-2845 -- run the PoC: kldload the module; output lands on the console
# (serial log). On INVARIANTS kernels expect the sbuf_drain KASSERT panic;
# on production (no-INVARIANTS) kernels expect the OVERFLOW CONFIRMED line.
kldload -v /root/baddrain/baddrain.ko