https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204005

--- Comment #1 from [email protected] ---
A commit references this bug:

Author: kp
Date: Sun Oct 25 13:14:54 UTC 2015
New revision: 289932
URL: https://svnweb.freebsd.org/changeset/base/289932

Log:
  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

Changes:
  head/sys/net/pfvar.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to