commit | b3cfaa31e3851c743d3f9d3441710f7ff6f7e868 | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Tue Nov 15 11:16:35 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 15 22:40:07 2016 -0500 |
tree | 7ca9875d19d7f4f010c020ca053252f88e8e014a | |
parent | 7e75f74a171a8146cc3ee92d5562878b40c25fb5 [diff] |
rtnetlink: fix rtnl message size computation for XDP rtnl_xdp_size() only considers the size of the actual payload attribute, and misses the space taken by the attribute used for nesting (IFLA_XDP). Fixes: d1fdd9138682 ("rtnl: add option for setting link xdp prog") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: Brenden Blanco <bblanco@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>