diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-02-15 05:09:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-15 20:59:20 +0100 |
commit | 237114384ab22c174ec4641e809f8e6cbcfce774 (patch) | |
tree | 9571ac28f82724a140367ad754b4946a889f2b70 /drivers/net/ethernet | |
parent | stmmac: update the driver version to Feb 2012 (v2) (diff) | |
download | linux-237114384ab22c174ec4641e809f8e6cbcfce774.tar.xz linux-237114384ab22c174ec4641e809f8e6cbcfce774.zip |
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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions