]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the bug introduced in r342908, that causes problems with dynamic
authorae <ae@FreeBSD.org>
Tue, 29 Jan 2019 11:18:41 +0000 (11:18 +0000)
committerae <ae@FreeBSD.org>
Tue, 29 Jan 2019 11:18:41 +0000 (11:18 +0000)
commit1c706e31a4215a7002d2ad3bb1930c8af80ddc76
tree4264f7b1b3e29eb4962b453b4f7fa78dc420e33c
parentbe20ad6345abc7ba2c84e91b37e87376ce36f05b
Fix the bug introduced in r342908, that causes problems with dynamic
handling for protocols without ports numbers.

Since port numbers were uninitialized for protocols like ICMP/ICMPv6,
ipfw_chk() used some non-zero values to create dynamic states, and due
this it failed to match replies with created states.

Reported by: Oliver Hartmann, Boris Lytochkin
Obtained from: Yandex LLC
X-MFC after: r342908
sys/netpfil/ipfw/ip_fw2.c