]> git.baikalelectronics.ru Git - kernel.git/commit
atm: Allow MSG_PEEK for atm sockets
authorJorge Boncompte [DTI2] <jorge@dti2.net>
Mon, 21 Nov 2011 10:25:58 +0000 (10:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2011 21:15:49 +0000 (16:15 -0500)
commit45b7302cc6505fe28d6dc1c6fedef92443d23aa1
tree3935df24cbdc9faab02e42342d24b48f5b0c0b11
parent85fcf24241837c0c89127dce5ef1a288753fb4d1
atm: Allow MSG_PEEK for atm sockets

Now that the vcc backends do the right thing with respect the receive
queue on registration, allow MSK_PEEK for atm sockets.

This allows a userspace program to inspect the packets and decide what
backend to use to handle them.

Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/common.c