From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 2 Sep 2012 16:42:01 +0800 References: <1346016359-27041-1-git-send-email-ordex@autistici.org> In-Reply-To: <1346016359-27041-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: <201209021642.01329.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: check for more space before accessing the skb 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 On Monday, August 27, 2012 05:25:59 Antonio Quartulli wrote: > In batadv_check_unicast_ttvn() the code accesses both the unicast header > and the Ethernet header in the payload. For this reason pskb_may_pull() > must be invoked to check for the required space. > > Signed-off-by: Antonio Quartulli > --- > routing.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Applied in revision 94494a1. Thanks, Marek