dtoverlays: Add overlays for the IMX708 image sensor
[platform/kernel/linux-rpi.git] / net / tipc / bearer.c
index 36b466c..b0ad61b 100644 (file)
@@ -259,9 +259,8 @@ static int tipc_enable_bearer(struct net *net, const char *name,
        u32 i;
 
        if (!bearer_name_validate(name, &b_names)) {
-               errstr = "illegal name";
                NL_SET_ERR_MSG(extack, "Illegal name");
-               goto rejected;
+               return res;
        }
 
        if (prio > TIPC_MAX_LINK_PRI && prio != TIPC_MEDIA_LINK_PRI) {