summaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorSabrina Dubroca2016-11-15 11:16:35 +0100
committerDavid S. Miller2016-11-16 04:40:07 +0100
commitb3cfaa31e3851c743d3f9d3441710f7ff6f7e868 (patch)
tree7ca9875d19d7f4f010c020ca053252f88e8e014a /kernel/bpf
parentrtnetlink: fix rtnl_vfinfo_size (diff)
downloadkernel-qcow2-linux-b3cfaa31e3851c743d3f9d3441710f7ff6f7e868.tar.gz
kernel-qcow2-linux-b3cfaa31e3851c743d3f9d3441710f7ff6f7e868.tar.xz
kernel-qcow2-linux-b3cfaa31e3851c743d3f9d3441710f7ff6f7e868.zip
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>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions