]> err.no Git - linux-2.6/commit
[AF_IUCV]: defensive programming of iucv_callback_txdone
authorUrsula Braun <braunu@de.ibm.com>
Fri, 8 Feb 2008 02:07:44 +0000 (18:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 02:07:44 +0000 (18:07 -0800)
commitf2a77991a918218be4a3ac78250e7eba2282be59
tree40bdf696b7d2e83a0335ce1357808b45b41184dc
parentd44447229e35115675d166b51a52e512c281475c
[AF_IUCV]: defensive programming of iucv_callback_txdone

The loop in iucv_callback_txdone presumes existence of an entry
with msg->tag in the send_skb_q list. In error cases this
assumption might be wrong and might cause an endless loop.
Loop is rewritten to guarantee loop end in case of missing
msg->tag entry in send_skb_q.

Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c