alistair23-linux/net/iucv
Hendrik Brueckner 60d3705fcb af_iucv: fix oops in iucv_sock_recvmsg() for MSG_PEEK flag
If iucv_sock_recvmsg() is called with MSG_PEEK flag set, the skb is enqueued
twice. If the socket is then closed, the pointer to the skb is freed twice.

Remove the skb_queue_head() call for MSG_PEEK, because the skb_recv_datagram()
function already handles MSG_PEEK (does not dequeue the skb).

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-21 23:43:13 -07:00
..
af_iucv.c af_iucv: fix oops in iucv_sock_recvmsg() for MSG_PEEK flag 2009-04-21 23:43:13 -07:00
iucv.c s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
Kconfig
Makefile