diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2016-11-22 06:14:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-24 01:18:36 (GMT) |
commit | 93af205656bed3d8d3f4b85b2a3749c7ed7d996a (patch) | |
tree | 8e8802881d7ea5a749faf4ea97e81adae6dca0bd /security/selinux | |
parent | 57aac71b3e9ed890cf2219dd980c36f859b43d6a (diff) | |
download | linux-93af205656bed3d8d3f4b85b2a3749c7ed7d996a.tar.xz |
rtnetlink: fix the wrong minimal dump size getting from rtnl_calcit()
For RT netlink, calcit() function should return the minimal size for
netlink dump message. This will make sure that dump message for every
network device can be stored.
Currently, rtnl_calcit() function doesn't account the size of header of
netlink message, this patch will fix it.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions