diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-03-06 11:15:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-06 14:25:39 -0500 |
commit | 9e9cb6221aa7cb04765484fe87cc2d1b92edce64 (patch) | |
tree | bc81e44f2e4e0c4a841cf19987c2e72547c1d464 /net/tipc | |
parent | bb5016eac1656506df1a9d6057ce5bec342afbef (diff) | |
download | linux-stable-9e9cb6221aa7cb04765484fe87cc2d1b92edce64.tar.gz linux-stable-9e9cb6221aa7cb04765484fe87cc2d1b92edce64.tar.bz2 linux-stable-9e9cb6221aa7cb04765484fe87cc2d1b92edce64.zip |
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>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions