From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 10 May 2013 00:07:08 +0800 References: <1368109009-2100-1-git-send-email-ordex@autistici.org> In-Reply-To: <1368109009-2100-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: <201305100007.08742.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2 maint] batman-adv: fix VLAN Ethernet header access 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: Antonio Quartulli , Antonio Quartulli On Thursday, May 09, 2013 22:16:49 Antonio Quartulli wrote: > From: Antonio Quartulli > > In interface_rx() skb->data cannot be directly used to > access the Ethernet header because it point to the batman > one. You don't believe that these calls (shortly before the code chunks you are changing) are helpful ? skb_pull_rcsum(skb, hdr_size); skb_reset_mac_header(skb); Cheers, Marek