bridge: Pull ip header into skb->data before looking into ip header.
On Thu, Oct 11, 2012 at 03:50:41PM +0800, Jesse Sung wrote:
> From: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
>
> BugLink: https://launchpad.net/bugs/1065150
>
> If lower layer driver leaves the ip header in the skb fragment, it needs to
> be first pulled into skb->data before inspecting ip header length or ip version
> number.
>
> Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> (cherry picked from commit 6caab7b0544e83e6c160b5e80f5a4a7dd69545c7 net.git)
Is this going to be in mainline soon? I do not see it in Linus' tree as
yet, which is presumably why it is not in stable as yet.
The description in the bug is rather better at explaining why we need
this.
The patch looks ok overall, I am mildy worried about when it is going to
hit mainline. But it also sounds pretty important for bridged
scenarios which would include virtual setups. So overall probabally:
Acked-by: Andy Whitcroft <apw@canonical.com>
-apw
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team