tcpmod_setmss() pulled up the entire packet to parse TCP options. On multi-segment mbufs m_pullup reallocates and the caller's tcp pointer is stale, and ipfw_run_eaction() callers do not refresh their own pointers either.
Avoid the pullup entirely: take the TCP header offset from the caller, copy the options to a stack buffer with m_copydata, and write back the MSS with m_copyback.
Nothing here can free the mbuf now, so the done parameter goes away with it.