bonding: fix a memory leak in bond_arp_send_all()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Jul 2014 12:21:21 +0000 (15:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 00:27:47 +0000 (17:27 -0700)
commita67eed571aa505f51a4d02cab765a9d4f6ef80c4
treeed767ec3b58683d0cfe2a0ab05ee0eeb758c41a6
parentd87de1f3e9635b16345bde54306c949417b689ad
bonding: fix a memory leak in bond_arp_send_all()

This test is reversed so the memory is always leaked.  It's better style
to remove the test anyway.

Fixes: 3e403a77779f ('bonding: make it possible to have unlimited nested upper vlans')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c