pppoe: Unshare skb before anything else
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 10 Jun 2008 21:08:25 +0000 (14:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Jun 2008 21:08:25 +0000 (14:08 -0700)
commitbc6cffd177f9266af38dba96a2cea06c1e7ff932
tree3d18d0ff6a5e72588ab154b65fe3d8649ffbc477
parent392fdb0e35055b96faa9c1cd6ab537805337cdce
pppoe: Unshare skb before anything else

We need to unshare the skb first as otherwise pskb_may_pull may
write to a shared skb which could be bad.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c