diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2011-04-21 13:58:26 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-10 16:03:59 -0400 |
commit | 3a777ff8b14456e15991c9fcc225943453dc3a75 (patch) | |
tree | 50f2b2ca5c9a2a4a1df107da4db00611ae938f32 /init | |
parent | dc63d91eb1cf74233c68b0058dcd477f5d019d02 (diff) | |
download | linux-3a777ff8b14456e15991c9fcc225943453dc3a75.tar.bz2 |
tipc: Enhance handling of discovery object creation failures
Modifies bearer creation and deletion code to improve handling of
scenarios when a neighbor discovery object cannot be created. The
creation routine now aborts the creation of a bearer if its discovery
object cannot be created, and deletes the newly created bearer, rather
than failing quietly and leaving an unusable bearer hanging around.
Since the exit via the goto label really isn't a definitive failure
in all cases, relabel it appropriately.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions