bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes
commit54e673fc73b6008bc3569d63e92903ef11675e24
authorThomas Graf <tgraf@suug.ch>
Wed, 26 Nov 2014 23:22:33 +0000 (27 00:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Dec 2014 17:37:10 +0000 (16 09:37 -0800)
treef88608b26dc22414300101e94ea847b52b5ad0de
parent433337f9c00cac447d020922f59237273f5d92be
bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes

[ Upstream commit f6c6fda4c9e17940b0a2ba206b0408babfdc930c ]

Fixes: 7f28fa10 ("bonding: add arp_ip_target netlink support")
Reported-by: John Fastabend <john.fastabend@gmail.com>
Cc: Scott Feldman <sfeldma@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_netlink.c