l2tp: Fix PPP header erasure and memory leak
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 12 Jun 2013 14:07:23 +0000 (16:07 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 29 Jun 2013 03:06:43 +0000 (04:06 +0100)
[ Upstream commit 55b92b7a11690bc377b5d373872a6b650ae88e64 ]

Copy user data after PPP framing header. This prevents erasure of the
added PPP header and avoids leaking two bytes of uninitialised memory
at the end of skb's data buffer.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found