summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorkp <kp@FreeBSD.org>2016-08-17 15:14:21 +0000
committerkp <kp@FreeBSD.org>2016-08-17 15:14:21 +0000
commitad413762f28e3be343987e707b9cf4f10f963693 (patch)
tree36d369cb4cf49221c5dc8dd1dbaae258ec1a00d5 /sys/i386
parent26d31e281678303d3071eb6fbac74b22036f44c5 (diff)
downloadFreeBSD-src-ad413762f28e3be343987e707b9cf4f10f963693.zip
FreeBSD-src-ad413762f28e3be343987e707b9cf4f10f963693.tar.gz
MFC r289932, r289940:
PF_ANEQ() macro will in most situations returns TRUE comparing two identical IPv4 packets (when it should return FALSE). It happens because PF_ANEQ() doesn't stop if first 32 bits of IPv4 packets are equal and starts to check next 3*32 bits (like for IPv6 packet). Those bits containt some garbage and in result PF_ANEQ() wrongly returns TRUE. Fix: Check if packet is of AF_INET type and if it is then compare only first 32 bits of data. PR: 204005 Submitted by: MiƂosz Kaniewski
Diffstat (limited to 'sys/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud