Michal Schmidt
77ef033b68
rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
...
IFLA_PHYS_PORT_NAME is a string attribute, so terminate it with \0.
Otherwise libnl3 fails to validate netlink messages with this attribute.
"ip -detail a" assumes too that the attribute is NUL-terminated when
printing it. It often was, due to padding.
I noticed this as libvirtd failing to start on a system with sfc driver
after upgrading it to Linux 4.11, i.e. when sfc added support for
phys_port_name.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-05-04 11:23:59 -04:00
..
2017-04-12 22:02:40 +02:00
2017-04-21 13:57:22 -04:00
2017-04-13 13:58:22 -04:00
2017-02-27 18:43:47 -08:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 14:37:50 -07:00
2017-04-30 16:52:43 +03:00
2017-05-02 11:46:28 -04:00
2017-05-03 10:11:26 -04:00
2017-03-02 08:42:29 +01:00
2017-04-27 09:34:13 +02:00
2017-03-23 12:03:36 +01:00
2017-05-04 11:23:59 -04:00
2017-04-17 15:35:38 -04:00
2017-03-13 22:00:42 -07:00
2017-05-01 10:47:53 -04:00
2017-03-03 10:16:38 -08:00
2017-04-21 10:41:24 -04:00
2017-02-16 21:25:49 -05:00
2017-04-13 13:58:20 -04:00
2017-04-13 13:58:22 -04:00
2017-02-03 15:16:45 -05:00
2017-05-04 11:02:46 -04:00
2017-05-04 11:02:46 -04:00
2017-05-02 15:34:53 -04:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-04-17 13:28:48 -04:00
2017-04-21 20:23:53 -07:00
2017-04-27 16:32:13 -04:00
2017-03-09 18:23:27 -08:00
2017-04-28 14:51:43 +02:00
2017-03-30 11:05:34 -07:00
2017-04-17 15:35:38 -04:00
2017-05-03 10:11:26 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-03-09 18:23:27 -08:00
2017-04-21 15:29:40 -04:00
2017-05-03 10:11:26 -04:00
2017-04-26 22:39:08 -04:00
2017-04-17 15:35:38 -04:00
2017-01-24 13:44:28 -05:00
2017-04-21 20:23:53 -07:00
2017-05-02 16:40:27 -07:00
2017-01-24 11:07:35 +01:00
2017-03-09 18:23:27 -08:00
2017-04-06 11:10:41 +01:00
2017-05-04 11:01:30 -04:00
2017-05-02 16:40:27 -07:00
2017-04-11 23:01:14 -04:00
2017-03-03 20:43:26 -08:00
2017-04-01 10:43:37 -07:00
2017-04-13 13:58:22 -04:00
2017-05-02 16:40:27 -07:00
2017-04-06 12:43:04 -07:00
2017-04-24 12:35:56 -04:00
2017-04-28 14:51:43 +02:00
2017-03-09 18:23:27 -08:00
2017-05-02 16:40:27 -07:00
2017-02-22 10:15:09 -08:00
2017-02-17 13:40:05 -05:00
2017-04-01 12:45:57 -07:00
2017-04-17 13:01:48 -04:00