File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / patches / ip_fw_dynamic.patch
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 22 13:01:55 2022 UTC (2 years ago) by misho
Branches: misho
CVS tags: start, fwsync1_0
FWSync driver

    1: diff --git a/sys/netpfil/ipfw/ip_fw_dynamic.c b/sys/netpfil/ipfw/ip_fw_dynamic.c
    2: index 7b5a7f60e49..a31e21050ad 100644
    3: --- a/sys/netpfil/ipfw/ip_fw_dynamic.c
    4: +++ b/sys/netpfil/ipfw/ip_fw_dynamic.c
    5: @@ -1959,6 +1959,10 @@ dyn_install_state(const struct ipfw_flow_id *pkt, uint32_t zoneid,
    6:  #endif
    7:  		}
    8:  	}
    9: +
   10: +	if (!ret && V_hook_state)
   11: +		V_hook_state(pkt);
   12: +
   13:  	/*
   14:  	 * EEXIST means that simultaneous thread has created this
   15:  	 * state. Consider this as success.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>