From: James Chapman <[EMAIL PROTECTED]> Date: Wed, 27 Jun 2007 23:20:38 +0100
> This driver handles only L2TP data frames; control frames are handled > by a userspace application. It implements L2TP using the PPPoX socket > family. There is a PPPoX socket for each L2TP session in an L2TP tunnel. > PPP data within each session is passed through the kernel's > PPP subsystem via this driver. Kernel parameters of each socket can be > read or modified using ioctl() or [gs]etsockopt() calls. > > Signed-off-by: James Chapman <[EMAIL PROTECTED]> Applied, and I added the following build warning fix on top: commit 24c65a03093b1c33fb90bbae6a024d161faa437a Author: David S. Miller <[EMAIL PROTECTED]> Date: Wed Jun 27 15:52:25 2007 -0700 [PPPOL2TP]: Use proper printf format specifier for size_t. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> diff --git a/drivers/net/pppol2tp.c b/drivers/net/pppol2tp.c index 8a6bff5..5891a0f 100644 --- a/drivers/net/pppol2tp.c +++ b/drivers/net/pppol2tp.c @@ -890,11 +890,11 @@ static int pppol2tp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msgh /* Debug */ if (session->send_seq) PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG, - "%s: send %d bytes, ns=%hu\n", session->name, + "%s: send %Zd bytes, ns=%hu\n", session->name, total_len, session->ns - 1); else PRINTK(session->debug, PPPOL2TP_MSG_DATA, KERN_DEBUG, - "%s: send %d bytes\n", session->name, total_len); + "%s: send %Zd bytes\n", session->name, total_len); if (session->debug & PPPOL2TP_MSG_DATA) { int i; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html