Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/
H A Dveth.c23711438 Tue Feb 14 22:09:46 CST 2012 Thomas Graf <tgraf@suug.ch> 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>
23711438 Tue Feb 14 22:09:46 CST 2012 Thomas Graf <tgraf@suug.ch> 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>