Page MenuHomeFreeBSD

Fall back to ether_ioctl() by default.
ClosedPublic

Authored by brooks on Mar 29 2018, 3:38 PM.
Tags
None
Referenced Files
F157314587: D14895.id.diff
Wed, May 20, 6:25 AM
Unknown Object (File)
Sun, May 3, 6:24 PM
Unknown Object (File)
Wed, Apr 29, 10:20 AM
Unknown Object (File)
Wed, Apr 29, 10:12 AM
Unknown Object (File)
Wed, Apr 22, 5:35 AM
Unknown Object (File)
Tue, Apr 21, 5:52 PM
Unknown Object (File)
Tue, Apr 21, 6:29 AM
Unknown Object (File)
Tue, Apr 21, 6:23 AM
Subscribers
None

Details

Summary

The common pratice in ethernet device drivers is to fall back to
ether_ioctl() to implement generic ioctls not implemented by the driver
and to fail if no handler exists.

Convert these drivers to follow that practice rather than calling
ether_ioctl() for specific cases.

vxge(4) aready had the default case, but it was only called on failure
to match.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The goal here is to reduce bad copy-and-paste examples and reduce the number of instances of SIOCGIFADDR and SIOCSIFADDR I need to audit in CheriBSD.

This revision is now accepted and ready to land.Mar 29 2018, 5:15 PM
This revision was automatically updated to reflect the committed changes.