CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2017/11/04 07:11:54

Modified files:
        sys/net        : if.c 
        sys/netinet    : in.c 
        sys/netinet6   : in6.c 

Log message:
Stop calling ifp->if_ioctl() inside in{,6}_ioctl().

Instead return EOPNOTSUPP and call it from ifioctl().  This will help
getting per-driver ioctl routines outside of need the NET_LOCK().

While here always return ENXIO when ``ifp'' is NULL.

ok visa@, florian@

Reply via email to