freebsd-skq/sys/netpfil
Kristof Provost 3d1bbe5fa0 pf: Fix forwarding detection
If the direction is not PF_OUT we can never be forwarding. Some input packets
have rcvif != ifp (looped back packets), which lead us to ip6_forward() inbound
packets, causing panics.

Equally, we need to ensure that packets were really received and not locally
generated before trying to ip6_forward() them.

Differential Revision:	https://reviews.freebsd.org/D2286
Approved by:		gnn(mentor)
2015-04-14 19:07:37 +00:00
..
ipfw The offset variable has been cleared all bits except IP6F_OFF_MASK. 2015-03-31 14:41:29 +00:00
pf pf: Fix forwarding detection 2015-04-14 19:07:37 +00:00