]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r333084:
authorkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 2 May 2018 22:36:10 +0000 (22:36 +0000)
committerkp <kp@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 2 May 2018 22:36:10 +0000 (22:36 +0000)
commit41548092d06dedb1938ea974298a48322f14caa2
tree597c91c7ed68bafb4cdafb2e919a8d19e9d944cf
parentec4af9bd2739c3e515513aaa18ad690d738bf1fb
MFC r333084:

pfctl: Don't break connections on skipped interfaces on reload

On reload we used to first flush everything, including the list of skipped
interfaces.  This can lead to termination of these connections if they send
packets before the new configuration is applied.

Note that this doesn't currently happen on 12 or 11, because of special EACCES
handling introduced in r315514. This special behaviour in tcp_output() may
change, hence the fix in pfctl.

PR: 214613
Submitted by: Andreas Longwitz <longwitz at incore.de>

git-svn-id: svn://svn.freebsd.org/base/stable/10@333187 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/pfctl/pfctl.c