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)
commit40ba84993d66469d336099c5af74c3da5b73e28d
tree3935df24cbdc9faab02e42342d24b48f5b0c0b11
parent4e55f5785825f18b1eb6c5cc5a9717e276925805
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