CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2014/01/18 14:14:46
Modified files: sys/netinet : in_pcb.c Log message: There was an awkward behaviour after a connection had been diverted to a socket. When the application removed the socket, the pf state would persist. A new connection did not hit the divert rule as the state still grabed the packet. The solution is to unlink the associated divert state when the socket gets destroyed. This is possible as both are linked together and a divert state without socket does not make sense. OK mikeb@