summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorDavid Decotigny <decot@googlers.com>2016-03-21 10:15:35 -0700
committerDavid S. Miller <davem@davemloft.net>2016-03-22 15:45:44 -0400
commit025c68186e07afaededa84143f1a22f273cd3f67 (patch)
treeabebdafd3eab9e09bf7b0188ad6cddd84cef5b2e /Kbuild
parent5f2d472450c94402627f54b603d271076f3f97c2 (diff)
downloadlinux-025c68186e07afaededa84143f1a22f273cd3f67.tar.gz
linux-025c68186e07afaededa84143f1a22f273cd3f67.tar.bz2
linux-025c68186e07afaededa84143f1a22f273cd3f67.zip
netlink: add support for NIC driver ioctls
By returning -ENOIOCTLCMD, sock_do_ioctl() falls back to calling dev_ioctl(), which provides support for NIC driver ioctls, which includes ethtool support. This is similar to the way ioctls are handled in udp.c or tcp.c. This removes the requirement that ethtool for example be tied to the support of a specific L3 protocol (ethtool uses an AF_INET socket today). Signed-off-by: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions