tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patches fixing unaligned access in the networking code



gert%greenie.muc.de@localhost (Gert Doering) writes:

>So if this is for accessing *any* TCP option (not just the first), you 
>can not assume alignment.

True, but that's just a "fast path" check that handles the simple case
with exactly one option which is the timestamp option, we even assert
alignment (with DIAGNOSTIC).

The generic option handling is in a separate function.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index