From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 3 Jan 2010 03:26:02 +0800 References: <20091231033752.GA18781@Sellars> In-Reply-To: <20091231033752.GA18781@Sellars> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001030326.02365.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 1/3] batman-adv: atomic variable for vis-srv activation Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Hi, > This fixes the bug discovered by Marek which did not allow turning on > the vis-server before an interface has been added. This is now being > done in a similar way as for (de)activating the aggregation mode with an > atomic variable. great that you work on this! :) I'm no expert on the vis code but here my 2 cents: * You hard-coded integer values instead of using the existing defines. Any reason for that ? * my_vis_info->packet.vis_type never gets updated ? * This patch removes functionality from the /proc parsing function although this is not related to the patch-topic. * checkpatch reports 8 errors & 8 warnings Regards, Marek