On Sun, 2016-03-13 at 17:30 +0000, Ben Hutchings wrote:
[...]
Patch 11: you need to answer my question about this.
[This is about why/whether there should be a fallback from creating an
AF_INET socket to issue SIOCETHTOOL on.]
I looked a little further, and found:
- The only address/protocol family that is always present in the kernel
(assuming CONFIG_NET=y) is netlink
- Netlink sockets don't support ioctl at all
So there seems to be no right answer to 'which family of socket should
I create to perform device ioctls'. There really ought to be!
Ben.
--
Ben Hutchings
If at first you don't succeed, you're doing about average.