HomeFreeBSD

Fix a race in smr_advance() that could result in unnecessary poll calls.

Description

Fix a race in smr_advance() that could result in unnecessary poll calls.

This was relatively harmless but surprising to see in counters. The
race occurred when rd_seq was read after the goal was updated and we
incorrectly calculated the delta between them.

Reviewed by: rlibby
Differential Revision: https://reviews.freebsd.org/D23464