Commit Graph

2 Commits

Author SHA1 Message Date
Toshi Kikuchi f15182243e Discard IP fragments as soon as it expires
Currently expired IP fragments are discarded only if another fragment for the
same IP datagram is received after timeout or the total size of the fragment
queue exceeded a predefined value.

Test: fragmentation.TestReassemblingTimeout

Fixes #3960

PiperOrigin-RevId: 334423710
2020-09-29 11:29:50 -07:00
Toshi Kikuchi 6e5ea605f4 Move stack.fakeClock into a separate package
PiperOrigin-RevId: 333138701
2020-09-22 12:45:23 -07:00