From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 6 Mar 2012 03:52:46 +0800 References: <1330933911-6320-1-git-send-email-ordex@autistici.org> In-Reply-To: <1330933911-6320-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203060352.47058.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: avoid ap_isolated check for broadcast packet 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 Monday, March 05, 2012 15:51:51 Antonio Quartulli wrote: > in case of a broadcast packet, the result of the ap_isolated check is > always false (since we have no ff:ff:ff:ff:ff:ff client to check for > TT_CLIENT_WIFI), therefore we can avoid searching the translation table > and we can return false directly How about also checking the source address ? You probably also should add similar checks for tt_local_add() ? Or do we have "legal" cases in which we announce multicast addresses ? Cheers, Marek