Page MenuHomeFreeBSD

Merge r281536
ClosedPublic

Authored by kp on Jun 15 2015, 10:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 9:40 PM
Unknown Object (File)
Tue, Oct 7, 3:22 AM
Unknown Object (File)
Thu, Sep 25, 3:09 AM
Unknown Object (File)
Sep 3 2025, 7:39 AM
Unknown Object (File)
Sep 3 2025, 1:14 AM
Unknown Object (File)
Aug 30 2025, 9:28 AM
Unknown Object (File)
Aug 15 2025, 10:47 AM
Unknown Object (File)
Aug 14 2025, 9:03 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp retitled this revision from to Merge r281536.
kp updated this object.
kp edited the test plan for this revision. (Show Details)
kp added reviewers: gnn, philip.
kp set the repository for this revision to rS FreeBSD src repository - subversion.
gnn edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2015, 12:53 PM
This revision was automatically updated to reflect the committed changes.