/[base]
ViewVC logotype

Revision 334876


Jump to revision: Previous Next
Author: kp
Date: Sat Jun 9 14:17:06 2018 UTC (6 years ago)
Changed paths: 1
Log Message:
pf: Fix deadlock with route-to

If a locally generated packet is routed (with route-to/reply-to/dup-to) out of
a different interface it's passed through the firewall again. This meant we
lost the inp pointer and if we required the pointer (e.g. for user ID matching)
we'd deadlock trying to acquire an inp lock we've already got.

Pass the inp pointer along with pf_route()/pf_route6().

PR:		228782
MFC after:	1 week


Changed paths

Path Details
Directoryhead/sys/netpfil/pf/pf.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27