From: Ursula Braun Date: Tue, 13 May 2014 12:38:02 +0000 (+0200) Subject: af_iucv: wrong mapping of sent and confirmed skbs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5738e2ef88070ef1372e6e718124d88e9abe4ac;p=pandora-kernel.git af_iucv: wrong mapping of sent and confirmed skbs When sending data through IUCV a MESSAGE COMPLETE interrupt signals that sent data memory can be freed or reused again. With commit f9c41a62bba3f3f7ef3541b2a025e3371bcbba97 "af_iucv: fix recvmsg by replacing skb_pull() function" the MESSAGE COMPLETE callback iucv_callback_txdone() identifies the wrong skb as being confirmed, which leads to data corruption. This patch fixes the skb mapping logic in iucv_callback_txdone(). Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Cc: Signed-off-by: David S. Miller --- Reading git-diff-tree failed