diff options
| author | maxv <maxv@NetBSD.org> | 2018-04-13 09:29:04 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2018-04-13 09:29:04 +0000 |
| commit | 1bd6f0e3a870d995c5fce89726671a966290ea22 (patch) | |
| tree | 4c4f4658aa8b27d260e5ec33df5aa99e961deb74 /sys/dev/microcode | |
| parent | fe47db9ff00f1094cd525c8135f8fae50749656c (diff) | |
Improve the check, we want to have len >= udphdr all the time, and not
just when the packet size doesn't match the mbuf size.
Normally that's not a huge problem, since IP6_EXTHDR_GET gets called
earlier, so we can't have
(ip_len == iphlen + len) && (len < sizeof(struct udphdr))
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
