[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160928201136.1600ac65@halley>
Date: Wed, 28 Sep 2016 20:11:36 +0300
From: Shmulik Ladkani <shmulik.ladkani@...ellosystems.com>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: "David S. Miller" <davem@...emloft.net>,
Pravin Shelar <pshelar@....org>, netdev@...r.kernel.org,
Shmulik Ladkani <shmulik.ladkani@...il.com>,
Jiri Pirko <jiri@...lanox.com>
Subject: Re: [PATCH v2 net] net: skbuff: skb_vlan_push: Fix wrong unwinding
of skb->data after __vlan_insert_tag call
On Wed, 28 Sep 2016 16:43:38 +0200 Daniel Borkmann <daniel@...earbox.net> wrote:
> > (1) suppose upon entry we have
> >
> > DA,SA,0x8100,TCI,0x0800,
> > ^ ^
> > mac_hdr data
> >
> > initial offset is 18, and after current unwinding code we'll get
>
> You mean data points after the 0x0800, right?
Sorry. Yes, exactly as you say. Initially 18 bytes ahead:
DA,SA,0x8100,TCI,0x0800,
^ ^
mac_hdr data
Powered by blists - more mailing lists