[B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread Antonio Quartulli
commit d2b6cc8e460494251442a877fcbc150faa175b4f upstream. skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb-data pointer value. For this reason any other pointer in the code that was assigned skb-data before invoking skb_linearise(skb) must be re-assigned. In

[B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread Antonio Quartulli
commit d2b6cc8e460494251442a877fcbc150faa175b4f upstream. skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb-data pointer value. For this reason any other pointer in the code that was assigned skb-data before invoking skb_linearise(skb) must be re-assigned. In

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread David Miller
From: Antonio Quartulli or...@autistici.org Date: Tue, 19 Jun 2012 09:20:30 +0200 commit d2b6cc8e460494251442a877fcbc150faa175b4f upstream. That commit does not exist in Linus's tree. It exists in the net-next tree. You must only make stable submissions for patches that have made their way

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread Sven Eckelmann
On Tuesday 19 June 2012 00:41:40 David Miller wrote: [] You must only make stable submissions for patches that have made their way into Linus's tree. That is correct. These patches were meant to be sent as reply to the patch you pulled today (that contained the initial Cc: stable@...).

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread David Miller
From: Sven Eckelmann s...@narfation.org Date: Tue, 19 Jun 2012 10:07:12 +0200 On Tuesday 19 June 2012 00:41:40 David Miller wrote: [] You must only make stable submissions for patches that have made their way into Linus's tree. That is correct. These patches were meant to be sent as

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread Sven Eckelmann
On Tuesday 19 June 2012 02:02:27 David Miller wrote: [] Patches you want to end up in -stable should be submitted for 'net' not 'net-next'. There is no other valid submission scheme. I know that. This is also completely right and not contested by me. I did not submit/create the pull

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-19 Thread Ben Hutchings
On Tue, 2012-06-19 at 11:51 +0200, Sven Eckelmann wrote: On Tuesday 19 June 2012 02:02:27 David Miller wrote: [] Patches you want to end up in -stable should be submitted for 'net' not 'net-next'. There is no other valid submission scheme. I know that. This is also completely

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-15 Thread Sven Eckelmann
On Thursday 14 June 2012 22:21:28 Antonio Quartulli wrote: skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb-data pointer value. For this reason any other pointer in the code that was assigned skb-data before invoking skb_linearise(skb) must be re-assigned.

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-15 Thread Antonio Quartulli
On Fri, Jun 15, 2012 at 01:45:11PM +0200, Sven Eckelmann wrote: On Thursday 14 June 2012 22:21:28 Antonio Quartulli wrote: skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb-data pointer value. For this reason any other pointer in the code that was

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix skb-data assignment

2012-06-15 Thread Marek Lindner
On Friday, June 15, 2012 04:21:28 Antonio Quartulli wrote: skb_linearize(skb) possibly rearranges the skb internal data and then changes the skb-data pointer value. For this reason any other pointer in the code that was assigned skb-data before invoking skb_linearise(skb) must be re-assigned.