CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2016/09/04 11:18:56
Modified files: sys/netinet : ip_output.c Log message: Prevent a NULL derefernce in ip_output(). A race can happen if a task, like the watchog, sleeps too long keeping an ifp reference while the interface is detached. In this case a TCP timer will try to send packets with a cached route. Since the ifp is being detached if_get(9) returns NULL. Found the hardway by awolk@. ok bluhm@