Hello,
On Fri, Dec 01, 2017 at 04:43:30PM +0100, Alexander Bluhm wrote: > Hi, > > I want to 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? > looks good to me. OK sashan