Since 69a34e8d0235c0304a28bf8ab076b931aa61835f it is required for the caller of
- tcp_lro_flush()
- tcp_lro_flush_all()
- tcp_lro_queue_mbuf()
- tcp_lro_flush_inactive()
to enter the network epoch when the kernel is compiled with options TCPHPTS. Instead if asserting for this in the LRO internal function tcp_lro_lookup(), do this at the entry functions of the LRO code which ends up in calling tcp_lro_lookup().
This makes the contract regarding to the network epoch handling clearer for users of TCP LRO code.
If we agree on this, fixing bugs like 254695 will be simpler.