Searched hist:"9 e9cb6221aa7cb04765484fe87cc2d1b92edce64" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/l2tp/ |
H A D | l2tp_ppp.c | diff 9e9cb6221aa7cb04765484fe87cc2d1b92edce64 Thu Mar 06 04:15:10 CST 2014 Guillaume Nault <g.nault@alphalink.fr> 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 <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
|