diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-21 17:25:55 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-21 17:25:55 +0100 |
commit | 1db9f19b62fbf52e4b33047b536cfb0fbfdd22cb (patch) | |
tree | 4c037ae7043d3a4c56c14ffe0516242bfcfc1d06 /sys/src/ape/lib/ap/stdio/vfprintf.c | |
parent | bf049ebdb1ede563304c9255d49d47df0098a531 (diff) |
ip: exclude "don't fragment" bit from ipv4 reassembly test
other operating systems always set the "don't fragment" bit
in ther outgoing ipv4 packets causing us to unnecesarily
call ip4reassemble() looking for a fragment reassembly queue.
the change excludes the "don't fragment" bit from the test
so we now call ip4reassemble() only when the "more fragmens"
bit is set or a fragment offset other than zero is given.
this optimization was discovered from akaros.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/vfprintf.c')
0 files changed, 0 insertions, 0 deletions