CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2020/05/27 14:44:07
Modified files: sys/netinet : in_pcb.c Log message: Connectionless sockets like UDP can be re-connected to a different address. In that case, the linking to the pf state must be dissolved as the latter still contains the old address. If it is a divert state, also remove the state as any divert state must be associated with a matching socket. Call pf_remove_divert_state() and pf_inp_unlink() from in_pcbconnect(). reported by Tim Kuijsten; OK sashan@ claudio@