John Ferlan edc88e2084 virnetdev: Use virNetDevSetupControl in virNetDevSendEthtoolIoctl
Use virNetDevSetupControl instead of open coding using socket(AF_LOCAL...)
and clearing virIfreq.

By using virNetDevSetupControl, the socket is then opened using
AF_PACKET which requires being privileged (effectively root) in
order to complete successfully.  Since that's now a requirement,
then the ioctl(SIOCETHTOOL) should not fail with EPERM, thus it
is removed from the filtered listed of failure codes.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2015-11-06 11:20:17 -05:00
..
2014-07-16 06:48:53 -06:00
2015-04-16 18:35:41 +02:00
2015-08-20 09:42:56 +03:00
2015-08-20 01:41:28 +02:00
2015-08-20 01:41:28 +02:00
2015-09-04 15:19:04 -04:00
2015-07-10 11:47:13 +02:00
2015-11-04 13:09:35 +01:00
2015-11-04 13:09:35 +01:00
2015-07-10 11:47:13 +02:00
2014-10-22 13:09:49 +01:00
2015-04-02 16:05:32 +02:00
2015-09-25 16:22:39 +02:00
2015-04-15 16:43:28 +02:00
2014-12-16 11:15:27 +01:00
2015-07-01 12:15:16 -04:00
2015-03-13 15:31:33 +01:00
2015-10-21 15:03:35 +02:00
2015-03-25 10:00:53 +01:00
2014-10-15 09:25:33 +02:00
2014-07-03 10:41:15 +02:00