From: Allan Stephens Date: Thu, 21 Apr 2011 18:58:26 +0000 (-0500) Subject: tipc: Enhance handling of discovery object creation failures X-Git-Tag: v3.0-rc1~377^2~111^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a777ff8b14456e15991c9fcc225943453dc3a75;p=pandora-kernel.git 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 Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed