summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormaxv <maxv@NetBSD.org>2018-04-18 17:58:07 +0000
committermaxv <maxv@NetBSD.org>2018-04-18 17:58:07 +0000
commit471c1b3a93598a3cabe2dd80dda6b9ec9ef51e2e (patch)
treef0c4113da6f3447d952c3fdd20b40d7615cb6faa /sys/dev
parent8030ac1d8c167ac0c768acb989c1c3dc9fdc2078 (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