commit | b473946a0853860e13b51c28add5524741117786 | [log] [tgz] |
---|---|---|
author | stephen hemminger <shemminger@vyatta.com> | Mon Jan 25 23:34:15 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 28 05:55:54 2010 -0800 |
tree | f60ad1068ba160e2628a915aa073ced46872f966 | |
parent | 3ce1cc52d2e76b6a6b9d0b52b70eb181497efa50 [diff] |
bonding: bond_open error return value The convention for API functions in kernel is to return errno value; bond_open would return -1 if alb setup failed. The only reason that could happen is if kmalloc() failed. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>