]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 296932:
authorkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Mar 2016 18:45:18 +0000 (18:45 +0000)
committerkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Mar 2016 18:45:18 +0000 (18:45 +0000)
commit7a93d77677e3c9ba0f68dbdc5da589d5fdbad516
tree22192bd29a0be1f77ff0df57dff20306f1ba6018
parent50297622278f89e9eb4615643a15ae3c5657658f
MFC 296932:
pf: Improve forwarding detection

When we guess the nature of the outbound packet (output vs. forwarding) we need
to take bridges into account. When bridging the input interface does not match
the output interface, but we're not forwarding. Similarly, it's possible for the
interface to actually be the bridge interface itself (and not a member interface).

git-svn-id: svn://svn.freebsd.org/base/stable/10@297429 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netpfil/pf/pf.c