CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2017/12/04 06:40:35

Modified files:
        sys/netinet    : in_pcb.c ip_input.c raw_ip.c tcp_input.c 
        sys/netinet6   : raw_ip6.c 

Log message:
Make divert lookup similar for all socket types.  If PF_TAG_DIVERTED
is set, pf_find_divert() cannot fail so put an assert there.
Explicitly check all possible divert types, panic in the default
case.  For raw sockets call pf_find_divert() before of the socket
loop.  Divert reply should not match on TCP or UDP listen sockets.
OK sashan@ visa@

Reply via email to