Home
last modified time | relevance | path

Searched hist:b3cfaa31e3851c743d3f9d3441710f7ff6f7e868 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/core/
H A Drtnetlink.cdiff b3cfaa31e3851c743d3f9d3441710f7ff6f7e868 Tue Nov 15 04:16:35 CST 2016 Sabrina Dubroca <sd@queasysnail.net> 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>