From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 28 Dec 2010 15:09:39 +0100 References: <1292320696-11983-1-git-send-email-linus.luessing@ascom.ch> <1292320696-11983-7-git-send-email-linus.luessing@ascom.ch> In-Reply-To: <1292320696-11983-7-git-send-email-linus.luessing@ascom.ch> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201012281509.39786.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 06/10] batman-adv: Purge outdated ndp neighbours 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: b.a.t.m.a.n@lists.open-mesh.org Cc: Linus =?utf-8?q?L=C3=BCssing?= On Tuesday 14 December 2010 10:58:12 Linus L=C3=BCssing wrote: > + list_for_each_entry_safe(neigh_node, neigh_node_tmp, > + &batman_if->neigh_list, list) { > + if (time_before(jiffies, > + neigh_node->last_valid + PURGE_TIMEOUT * HZ)) > + continue; We should continue to use msecs_to_jiffies() for readability reasons. Cheers, Marek