]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/tipc/config.c
x86: check for and defend against BIOS memory corruption
[linux-2.6-omap-h63xx.git] / net / tipc / config.c
index 16e7cb74969b02204b007d59ef9861372fdd4c11..ca3544d030c7f9177fbe426e9f955c4655c157cc 100644 (file)
@@ -293,7 +293,6 @@ static struct sk_buff *cfg_set_own_addr(void)
        if (tipc_mode == TIPC_NET_MODE)
                return tipc_cfg_reply_error_string(TIPC_CFG_NOT_SUPPORTED
                                                   " (cannot change node address once assigned)");
-       tipc_own_addr = addr;
 
        /*
         * Must release all spinlocks before calling start_net() because
@@ -306,7 +305,7 @@ static struct sk_buff *cfg_set_own_addr(void)
         */
 
        spin_unlock_bh(&config_lock);
-       tipc_core_start_net();
+       tipc_core_start_net(addr);
        spin_lock_bh(&config_lock);
        return tipc_cfg_reply_none();
 }