]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Merge r270022 from head:
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Aug 2014 15:49:41 +0000 (15:49 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Aug 2014 15:49:41 +0000 (15:49 +0000)
commit19cf680d2fddee4acccfb86de29316cdf0fc1b1f
tree89e7e7a9bf9c478a54be77511cee8b7199e444f2
parent78f8bc64544d0c8fe707d14af984437e5e0f3250
Merge r270022 from head:
  pf_map_addr() can fail and in this case we should drop the packet,
  otherwise bad consequences including a routing loop can occur.

  Move pf_set_rt_ifp() earlier in state creation sequence and
  inline it, cutting some extra code.

  PR:           183997
  Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
  Sponsored by: InnoGames GmbH

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