From: Herbert Xu Date: Tue, 18 Sep 2007 20:18:42 +0000 (-0700) Subject: [PPP] L2TP: Fix skb handling in pppol2tp_recv_core X-Git-Tag: v2.6.23-rc8~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a70e39b6633ad85936b029463134ee2599600f1;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed