summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/rum/microcode.h
diff options
context:
space:
mode:
authormaxv <maxv@NetBSD.org>2018-04-13 09:29:04 +0000
committermaxv <maxv@NetBSD.org>2018-04-13 09:29:04 +0000
commit1bd6f0e3a870d995c5fce89726671a966290ea22 (patch)
tree4c4f4658aa8b27d260e5ec33df5aa99e961deb74 /sys/dev/microcode/rum/microcode.h
parentfe47db9ff00f1094cd525c8135f8fae50749656c (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/rum/microcode.h')
0 files changed, 0 insertions, 0 deletions