Date: Wed, 17 Aug 2016 09:24:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-pf@FreeBSD.org Subject: [Bug 207598] pf adds icmp unreach on gre/ipsec somehow Message-ID: <bug-207598-17777-MkXdsWWT3k@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207598-17777@https.bugs.freebsd.org/bugzilla/> References: <bug-207598-17777@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207598 --- Comment #38 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Wed Aug 17 09:23:41 UTC 2016 New revision: 304282 URL: https://svnweb.freebsd.org/changeset/base/304282 Log: MFC r302497: pf: Map hook returns onto the correct error values pf returns PF_PASS, PF_DROP, ... in the netpfil hooks, but the hook calle= rs expect to get E<foo> error codes. Map the returns values. A pass is 0 (everything is OK), anything else mea= ns pf ate the packet, so return EACCES, which tells the stack not to emit an ICMP error message. PR: 207598 Changes: _U stable/11/ stable/11/sys/netpfil/pf/pf_ioctl.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207598-17777-MkXdsWWT3k>