commit | 7a70e39b6633ad85936b029463134ee2599600f1 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue Sep 18 13:18:42 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu Sep 20 12:14:17 2007 -0700 |
tree | 7304a9000724a93683299ef7c5aa644725a3e0fb | |
parent | a14d6abc947a5504e8d0f934da57b5bc4cea59ca [diff] |
[PPP] L2TP: Fix skb handling in pppol2tp_recv_core The function pppol2tp_recv_core doesn't handle non-linear packets properly. It also fails to check the remote offset field. This patch fixes these problems. It also removes an unnecessary check on the UDP header which has already been performed by the UDP layer. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>