diff options
| author | maxv <maxv@NetBSD.org> | 2018-04-18 17:58:07 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2018-04-18 17:58:07 +0000 |
| commit | 471c1b3a93598a3cabe2dd80dda6b9ec9ef51e2e (patch) | |
| tree | f0c4113da6f3447d952c3fdd20b40d7615cb6faa /sys/dev | |
| parent | 8030ac1d8c167ac0c768acb989c1c3dc9fdc2078 (diff) | |
Simplify the IPv4 parser. Get the option length in 'optlen', and sanitize
it earlier. A new check is added (off + optlen > skip).
In the IPv6 parser we reuse 'optlen', and remove 'ad' as a result.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
