CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2016/01/25 05:39:00
Modified files: sys/net : Tag: OPENBSD_5_8 if_vlan.c Log message: By creating, changing and destroying vlan interfaces multiple times, root could crash the OpenBSD 5.8 kernel with ifconfig. The reference counting of ifv_ifih in vlan_config() was wrong, so a use after free was possible. Reordering the operations fixes it. Neither 5.7 nor -current is affected. OK mpi@ sthen@ jasper@