Daniel Borkmann
025331df34
rtnl: don't account unused struct ifla_port_vsi in rtnl_port_size
...
When allocating rtnl dump messages, struct ifla_port_vsi is never dumped,
so we can save header plus payload in rtnl_port_size(). Infact, attribute
IFLA_PORT_VSI_TYPE and struct ifla_port_vsi are not used anywhere in
the kernel. We only need to keep the nla policy should applications in
user space be filling this out. Same NLA_BINARY issue exists as was fixed
in 364d5716a7ad ("rtnetlink: ifla_vf_policy: fix misuses of NLA_BINARY")
and others, but then again IFLA_PORT_VSI_TYPE is not used anywhere, so
just add a comment that it's unused.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-17 14:56:11 -05:00
..
2017-01-22 16:46:13 -05:00
2016-09-23 13:47:44 -04:00
2016-12-24 11:46:01 -08:00
2017-02-06 11:25:57 -05:00
2016-09-10 21:19:10 -07:00
2016-12-28 15:11:32 -05:00
2017-01-16 14:39:58 -05:00
2017-01-29 19:21:26 -05:00
2016-12-16 10:24:44 -08:00
2017-02-17 13:56:56 -05:00
2017-01-19 11:45:21 -05:00
2017-01-30 11:05:04 +01:00
2017-01-18 17:58:45 +01:00
2017-02-17 14:56:11 -05:00
2016-12-03 23:54:25 -05:00
2017-01-28 10:33:06 -05:00
2016-12-24 11:46:01 -08:00
2016-04-11 22:37:37 +01:00
2017-02-11 02:31:11 -05:00
2017-02-16 21:25:49 -05:00
2017-02-06 16:33:29 -05:00
2016-12-16 00:13:43 +02:00
2017-02-03 15:16:45 -05:00
2017-02-16 21:25:49 -05:00
2017-02-16 21:25:49 -05:00
2016-12-25 17:21:22 +01:00
2016-12-24 11:46:01 -08:00
2017-01-10 21:08:29 -05:00
2017-02-14 13:06:37 -05:00
2016-11-18 10:59:15 -05:00
2017-02-11 02:31:11 -05:00
2016-09-10 23:12:53 -07:00
2016-12-24 11:46:01 -08:00
2017-02-12 22:14:49 -05:00
2017-02-10 14:31:51 -05:00
2016-12-25 17:21:22 +01:00
2017-01-30 15:14:22 -05:00
2016-10-20 11:23:08 -04:00
2017-02-12 14:45:14 +01:00
2017-01-06 22:20:45 -05:00
2017-01-27 12:03:29 -05:00
2016-10-27 16:16:09 -04:00
2017-02-15 12:40:27 -05:00
2017-02-16 19:34:01 -05:00
2016-11-18 10:59:15 -05:00
2017-01-24 13:44:28 -05:00
2017-01-10 20:45:04 -05:00
2017-01-06 22:14:26 -05:00
2017-01-24 11:07:35 +01:00
2016-12-24 11:46:01 -08:00
2017-01-09 11:10:02 +00:00
2017-02-17 12:08:06 -05:00
2017-02-09 16:57:38 -05:00
2017-01-30 16:37:55 -05:00
2016-10-12 01:51:49 -04:00
2017-02-10 13:51:01 -05:00
2016-10-30 12:42:58 -04:00
2017-02-17 12:28:35 -05:00
2017-02-02 21:58:02 -05:00
2016-12-17 20:17:04 -08:00
2016-10-27 16:16:09 -04:00
2017-02-10 14:31:51 -05:00
2016-12-24 11:46:01 -08:00
2017-02-16 21:25:49 -05:00
2017-01-04 13:24:19 -05:00
2017-02-17 13:40:05 -05:00
2017-02-03 15:16:45 -05:00
2017-01-11 14:43:39 -05:00
2016-10-06 09:52:23 -07:00