From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 16 Jun 2011 00:45:16 +0200 From: Antonio Quartulli Message-ID: <20110615224516.GB15320@ritirata.org> References: <1307307664-19910-1-git-send-email-ordex@autistici.org> <1307307664-19910-4-git-send-email-ordex@autistici.org> <20110605215552.GX4071@lunn.ch> <201106152342.39423.lindner_marek@yahoo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201106152342.39423.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: implement AP-isolation on the receiver side 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 On mer, giu 15, 2011 at 11:42:38 +0200, Marek Lindner wrote: > On Sunday, June 05, 2011 11:55:52 PM Andrew Lunn wrote: > > > diff --git a/translation-table.c b/translation-table.c > > > index e0c5945..24e48e7 100644 > > > --- a/translation-table.c > > > +++ b/translation-table.c > > > @@ -1683,3 +1683,33 @@ void tt_free(struct bat_priv *bat_priv) > > > > > > kfree(bat_priv->tt_buff); > > > > > > } > > > > > > + > > > +bool is_ap_isolated(struct bat_priv *bat_priv, uint8_t *src, uint8_t > > > *dst) > > > > Doh! > > > > O.K. The ordering could of been better... but the code at the end is > > O.K, which is what matters. > > Aarrgh, same here. Let's see how many others fall into this trap. > How about reversing the order of these patches to avoid this "problem" ? Mh...the patches should be independent from each other. ok I like your suggestion :) Thank you! Regards, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara