From: Guillaume Nault Date: Thu, 6 Mar 2014 10:15:10 +0000 (+0100) Subject: l2tp: fix userspace reception on plain L2TP sockets X-Git-Tag: v3.14-rc7~10^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9cb6221aa7cb04765484fe87cc2d1b92edce64;p=pandora-kernel.git l2tp: fix userspace reception on plain L2TP sockets As pppol2tp_recv() never queues up packets to plain L2TP sockets, pppol2tp_recvmsg() never returns data to userspace, thus making the recv*() system calls unusable. Instead of dropping packets when the L2TP socket isn't bound to a PPP channel, this patch adds them to its reception queue. Signed-off-by: Guillaume Nault Signed-off-by: David S. Miller --- Reading git-diff-tree failed