[PPPOL2TP]: Fix use-after-free
authorPatrick McHardy <kaber@trash.net>
Wed, 18 Jul 2007 09:04:09 +0000 (02:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2007 09:04:09 +0000 (02:04 -0700)
commit7d4372b5ae2f891e8bfa96c98d450255f58b4dc1
treebca14a197cdef0057e4008152649b43a42d0daba
parent99acaeb92fc2d52900f00b8e926d9ad81b6e93bb
[PPPOL2TP]: Fix use-after-free

Don't use skb->len after passing it to ip_queue_xmit.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppol2tp.c