On 2012-01-13 12:13, Fernando Gont wrote:
If you do not keep state, then.
1) If you don't get any further fragments, you saved memory and other
resources, or,
2) If you do get other fragments, they'll be queued, and since other
fragments were dropped, there won't be any reassembled datagram, and
after a "reassembly timeout" the fragments will get dropped anyway.

I disagree with your proposal.

The amount of memory saved in case 1) is insignificant. It's a few bytes. The fragments themselves are not kept in memory. And there are no "other resources".

In case 2) you end up having to keep fragments in memory. This is bad.

Also, there would be no guarantee in case 2) that reassembly does not happen because of possible packet duplication.

Simon

Reply via email to