bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes
authorThomas Graf <tgraf@suug.ch>
Wed, 26 Nov 2014 23:22:33 +0000 (00:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Nov 2014 04:46:32 +0000 (20:46 -0800)
commitf6c6fda4c9e17940b0a2ba206b0408babfdc930c
treecfb028e00d9cd1c00df87f5b4cc442a47354c716
parent7a5a4f978750756755dc839014e13d1b088ccc8e
bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes

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>
drivers/net/bonding/bond_netlink.c