diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-11-04 13:11:55 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-11-04 13:11:55 +0000 |
commit | 494cc0eb658eb64325d225030aa3a74f62113ce1 (patch) | |
tree | 1374417a40f2e89150851834c8776ef9e329306d /regress | |
parent | c72eae7ae02d3bb6c61a06e2ded9e55931f10b87 (diff) |
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@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions