]> err.no Git - linux-2.6/commit
[PPP] pppoe: Fix skb_unshare_check call position
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Sep 2007 23:19:20 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Sep 2007 23:19:20 +0000 (16:19 -0700)
commit31bac44468257986484703cc09da8a9dcae88a36
tree7782fb9da4c2d4266c6e8ae13cbb9bd50491cd49
parent559cf710b07c5e2cfa3fb8d8f4a1320fd84c53f9
[PPP] pppoe: Fix skb_unshare_check call position

The skb_unshare_check call needs to be made before pskb_may_pull,
not after.

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