commit | 237114384ab22c174ec4641e809f8e6cbcfce774 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Feb 15 04:09:46 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 15 14:59:20 2012 -0500 |
tree | 9571ac28f82724a140367ad754b4946a889f2b70 | |
parent | 78a5249fc9dc0f8c70221751dc79b6d918e5ee9a [diff] |
veth: Enforce minimum size of VETH_INFO_PEER VETH_INFO_PEER carries struct ifinfomsg plus optional IFLA attributes. A minimal size of sizeof(struct ifinfomsg) must be enforced or we may risk accessing that struct beyond the limits of the netlink message. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>